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()
NAT option controlling how IPs are NAT'ed to the instance. 
 | 
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 | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
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)
NAT option controlling how IPs are NAT'ed to the instance. 
 | 
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 | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
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 getSelfLinkWithId()
null for nonepublic TargetInstance setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId 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–2020 Google. All rights reserved.