public final class InstanceSettings
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InstanceSettings() |
Modifier and Type | Method and Description |
---|---|
InstanceSettings |
clone() |
byte[] |
decodeFingerprint()
Specifies a fingerprint for instance settings, which is essentially a hash of the instance
settings resource's contents and used for optimistic locking.
|
InstanceSettings |
encodeFingerprint(byte[] fingerprint)
Specifies a fingerprint for instance settings, which is essentially a hash of the instance
settings resource's contents and used for optimistic locking.
|
String |
getFingerprint()
Specifies a fingerprint for instance settings, which is essentially a hash of the instance
settings resource's contents and used for optimistic locking.
|
String |
getKind()
[Output Only] Type of the resource.
|
InstanceSettingsMetadata |
getMetadata()
The metadata key/value pairs assigned to all the instances in the corresponding scope.
|
String |
getZone()
[Output Only] URL of the zone where the resource resides You must specify this field as part of
the HTTP request URL.
|
InstanceSettings |
set(String fieldName,
Object value) |
InstanceSettings |
setFingerprint(String fingerprint)
Specifies a fingerprint for instance settings, which is essentially a hash of the instance
settings resource's contents and used for optimistic locking.
|
InstanceSettings |
setKind(String kind)
[Output Only] Type of the resource.
|
InstanceSettings |
setMetadata(InstanceSettingsMetadata metadata)
The metadata key/value pairs assigned to all the instances in the corresponding scope.
|
InstanceSettings |
setZone(String zone)
[Output Only] URL of the zone where the resource resides You must specify this field as part of
the HTTP request URL.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getFingerprint()
null
for nonedecodeFingerprint()
public byte[] decodeFingerprint()
null
for nonegetFingerprint()
public InstanceSettings setFingerprint(String fingerprint)
fingerprint
- fingerprint or null
for none#encodeFingerprint()
public InstanceSettings encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getKind()
null
for nonepublic InstanceSettings setKind(String kind)
kind
- kind or null
for nonepublic InstanceSettingsMetadata getMetadata()
null
for nonepublic InstanceSettings setMetadata(InstanceSettingsMetadata metadata)
metadata
- metadata or null
for nonepublic String getZone()
null
for nonepublic InstanceSettings setZone(String zone)
zone
- zone or null
for nonepublic InstanceSettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public InstanceSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.