public final class PerInstanceConfig 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 |
|---|
PerInstanceConfig() |
| Modifier and Type | Method and Description |
|---|---|
PerInstanceConfig |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this per-instance config.
|
PerInstanceConfig |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this per-instance config.
|
String |
getFingerprint()
Fingerprint of this per-instance config.
|
String |
getName()
The name of a per-instance config and its corresponding instance.
|
PreservedState |
getPreservedState()
The intended preserved state for the given instance.
|
String |
getStatus()
The status of applying this per-instance config on the corresponding managed instance.
|
PerInstanceConfig |
set(String fieldName,
Object value) |
PerInstanceConfig |
setFingerprint(String fingerprint)
Fingerprint of this per-instance config.
|
PerInstanceConfig |
setName(String name)
The name of a per-instance config and its corresponding instance.
|
PerInstanceConfig |
setPreservedState(PreservedState preservedState)
The intended preserved state for the given instance.
|
PerInstanceConfig |
setStatus(String status)
The status of applying this per-instance config on the corresponding managed instance.
|
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 getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public PerInstanceConfig setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public PerInstanceConfig encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getName()
null for nonepublic PerInstanceConfig setName(String name)
name - name or null for nonepublic PreservedState getPreservedState()
null for nonepublic PerInstanceConfig setPreservedState(PreservedState preservedState)
preservedState - preservedState or null for nonepublic String getStatus()
null for nonepublic PerInstanceConfig setStatus(String status)
status - status or null for nonepublic PerInstanceConfig set(String fieldName, Object value)
set in class GenericJsonpublic PerInstanceConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.