public final class Zone 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 |
|---|
Zone() |
| Modifier and Type | Method and Description |
|---|---|
Zone |
clone() |
List<String> |
getAvailableCpuPlatforms()
[Output Only] Available cpu/platform selections for the zone.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this zone.
|
String |
getDescription()
[Output Only] Textual description of the resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] Name of the resource.
|
String |
getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStatus()
[Output Only] Status of the zone, either UP or DOWN.
|
Zone |
set(String fieldName,
Object value) |
Zone |
setAvailableCpuPlatforms(List<String> availableCpuPlatforms)
[Output Only] Available cpu/platform selections for the zone.
|
Zone |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Zone |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this zone.
|
Zone |
setDescription(String description)
[Output Only] Textual description of the resource.
|
Zone |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Zone |
setKind(String kind)
[Output Only] Type of the resource.
|
Zone |
setName(String name)
[Output Only] Name of the resource.
|
Zone |
setRegion(String region)
[Output Only] Full URL reference to the region which hosts the zone.
|
Zone |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Zone |
setStatus(String status)
[Output Only] Status of the zone, either UP or DOWN.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getAvailableCpuPlatforms()
null for nonepublic Zone setAvailableCpuPlatforms(List<String> availableCpuPlatforms)
availableCpuPlatforms - availableCpuPlatforms or null for nonepublic String getCreationTimestamp()
null for nonepublic Zone setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic Zone setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic String getDescription()
null for nonepublic Zone setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic Zone setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic Zone setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Zone setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic Zone setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic Zone setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic Zone setStatus(String status)
status - status or null for nonepublic Zone set(String fieldName, Object value)
set in class GenericJsonpublic Zone clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.