public final class TargetInstance extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| TargetInstance() | 
| Modifier and Type | Method and Description | 
|---|---|
| TargetInstance | clone() | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| BigInteger | getId()[Output Only] The unique identifier for the resource. | 
| String | getInstance()A URL to the virtual machine instance that handles traffic for this target instance. | 
| String | getKind()[Output Only] The type of the resource. | 
| String | getName()Name of the resource. | 
| String | getNatPolicy()Must have a value of NO_NAT. | 
| String | getNetwork()The URL of the network this target instance uses to forward traffic. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| String | getZone()[Output Only] URL of the zone where the target instance resides. | 
| TargetInstance | set(String fieldName,
   Object value) | 
| TargetInstance | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| TargetInstance | setDescription(String description)An optional description of this resource. | 
| TargetInstance | setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| TargetInstance | setInstance(String instance)A URL to the virtual machine instance that handles traffic for this target instance. | 
| TargetInstance | setKind(String kind)[Output Only] The type of the resource. | 
| TargetInstance | setName(String name)Name of the resource. | 
| TargetInstance | setNatPolicy(String natPolicy)Must have a value of NO_NAT. | 
| TargetInstance | setNetwork(String network)The URL of the network this target instance uses to forward traffic. | 
| TargetInstance | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| TargetInstance | setZone(String zone)[Output Only] URL of the zone where the target instance resides. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic TargetInstance setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic TargetInstance setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic TargetInstance setId(BigInteger id)
id - id or null for nonepublic String getInstance()
null for nonepublic TargetInstance setInstance(String instance)
instance - instance or null for nonepublic String getKind()
null for nonepublic TargetInstance setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic TargetInstance setName(String name)
name - name or null for nonepublic String getNatPolicy()
null for nonepublic TargetInstance setNatPolicy(String natPolicy)
natPolicy - natPolicy or null for nonepublic String getNetwork()
null for nonepublic TargetInstance setNetwork(String network)
network - network or null for nonepublic String getSelfLink()
null for nonepublic TargetInstance setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getZone()
null for nonepublic TargetInstance setZone(String zone)
zone - zone or null for nonepublic TargetInstance set(String fieldName, Object value)
set in class GenericJsonpublic TargetInstance clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.