public final class InstanceGroup 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 | 
|---|
InstanceGroup()  | 
| Modifier and Type | Method and Description | 
|---|---|
InstanceGroup | 
clone()  | 
byte[] | 
decodeFingerprint()
[Output Only] The fingerprint of the named ports. 
 | 
InstanceGroup | 
encodeFingerprint(byte[] fingerprint)
[Output Only] The fingerprint of the named ports. 
 | 
String | 
getCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
String | 
getFingerprint()
[Output Only] The fingerprint of the named ports. 
 | 
BigInteger | 
getId()
[Output Only] A unique identifier for this instance group, generated by the server. 
 | 
String | 
getKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups. 
 | 
String | 
getName()
The name of the instance group. 
 | 
List<NamedPort> | 
getNamedPorts()
Assigns a name to a port number. 
 | 
String | 
getNetwork()
[Output Only] The URL of the network to which all instances in the instance group belong. 
 | 
String | 
getRegion()
[Output Only] The URL of the region where the instance group is located (for regional
 resources). 
 | 
String | 
getSelfLink()
[Output Only] The URL for this instance group. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Integer | 
getSize()
[Output Only] The total number of instances in the instance group. 
 | 
String | 
getSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong. 
 | 
String | 
getZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources). 
 | 
InstanceGroup | 
set(String fieldName,
   Object value)  | 
InstanceGroup | 
setCreationTimestamp(String creationTimestamp)
[Output Only] The creation timestamp for this instance group in RFC3339 text format. 
 | 
InstanceGroup | 
setDescription(String description)
An optional description of this resource. 
 | 
InstanceGroup | 
setFingerprint(String fingerprint)
[Output Only] The fingerprint of the named ports. 
 | 
InstanceGroup | 
setId(BigInteger id)
[Output Only] A unique identifier for this instance group, generated by the server. 
 | 
InstanceGroup | 
setKind(String kind)
[Output Only] The resource type, which is always compute#instanceGroup for instance groups. 
 | 
InstanceGroup | 
setName(String name)
The name of the instance group. 
 | 
InstanceGroup | 
setNamedPorts(List<NamedPort> namedPorts)
Assigns a name to a port number. 
 | 
InstanceGroup | 
setNetwork(String network)
[Output Only] The URL of the network to which all instances in the instance group belong. 
 | 
InstanceGroup | 
setRegion(String region)
[Output Only] The URL of the region where the instance group is located (for regional
 resources). 
 | 
InstanceGroup | 
setSelfLink(String selfLink)
[Output Only] The URL for this instance group. 
 | 
InstanceGroup | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
InstanceGroup | 
setSize(Integer size)
[Output Only] The total number of instances in the instance group. 
 | 
InstanceGroup | 
setSubnetwork(String subnetwork)
[Output Only] The URL of the subnetwork to which all instances in the instance group belong. 
 | 
InstanceGroup | 
setZone(String zone)
[Output Only] The URL of the zone where the instance group is located (for zonal resources). 
 | 
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 InstanceGroup setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic InstanceGroup setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public InstanceGroup setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public InstanceGroup encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public BigInteger getId()
null for nonepublic InstanceGroup setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic InstanceGroup setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic InstanceGroup setName(String name)
name - name or null for nonepublic List<NamedPort> getNamedPorts()
null for nonepublic InstanceGroup setNamedPorts(List<NamedPort> namedPorts)
namedPorts - namedPorts or null for nonepublic String getNetwork()
null for nonepublic InstanceGroup setNetwork(String network)
network - network or null for nonepublic String getRegion()
null for nonepublic InstanceGroup setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic InstanceGroup setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic InstanceGroup setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic Integer getSize()
null for nonepublic InstanceGroup setSize(Integer size)
size - size or null for nonepublic String getSubnetwork()
null for nonepublic InstanceGroup setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic String getZone()
null for nonepublic InstanceGroup setZone(String zone)
zone - zone or null for nonepublic InstanceGroup set(String fieldName, Object value)
set in class GenericJsonpublic InstanceGroup clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.