public final class Zone
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| Constructor and Description |
|---|
Zone() |
| Modifier and Type | Method and Description |
|---|---|
Zone |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this zone.
|
java.lang.String |
getDescription()
[Output Only] Textual description of the resource.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
[Output Only] Name of the resource.
|
java.lang.String |
getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getStatus()
[Output Only] Status of the zone, either UP or DOWN.
|
Zone |
set(java.lang.String fieldName,
java.lang.Object value) |
Zone |
setCreationTimestamp(java.lang.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(java.lang.String description)
[Output Only] Textual description of the resource.
|
Zone |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Zone |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Zone |
setName(java.lang.String name)
[Output Only] Name of the resource.
|
Zone |
setRegion(java.lang.String region)
[Output Only] Full URL reference to the region which hosts the zone.
|
Zone |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Zone |
setStatus(java.lang.String status)
[Output Only] Status of the zone, either UP or DOWN.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic Zone setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic Zone setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic java.lang.String getDescription()
null for nonepublic Zone setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic Zone setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Zone setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Zone setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getRegion()
null for nonepublic Zone setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Zone setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getStatus()
null for nonepublic Zone setStatus(java.lang.String status)
status - status or null for nonepublic Zone set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Zone clone()
clone in class com.google.api.client.json.GenericJson