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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InstanceSettings() |
| Modifier and Type | Method and Description |
|---|---|
InstanceSettings |
clone() |
String |
getEmail()
Email address of the service account.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getMachineType()
Partial URL of the machine type resource to use for this instance, in the format: machineTypes
/machine-type.
|
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 |
setEmail(String email)
Email address of the service account.
|
InstanceSettings |
setKind(String kind)
[Output Only] Type of the resource.
|
InstanceSettings |
setMachineType(String machineType)
Partial URL of the machine type resource to use for this instance, in the format: machineTypes
/machine-type.
|
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, 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 getEmail()
null for nonepublic InstanceSettings setEmail(String email)
email - email or null for nonepublic String getKind()
null for nonepublic InstanceSettings setKind(String kind)
kind - kind or null for nonepublic String getMachineType()
null for nonepublic InstanceSettings setMachineType(String machineType)
machineType - machineType 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.GenericJsonpublic InstanceSettings clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.