public final class Region 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 |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
Region |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this region.
|
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.
|
List<Quota> |
getQuotas()
[Output Only] Quotas assigned to this region.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStatus()
[Output Only] Status of the region, either UP or DOWN.
|
List<String> |
getZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.
|
Region |
set(String fieldName,
Object value) |
Region |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Region |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this region.
|
Region |
setDescription(String description)
[Output Only] Textual description of the resource.
|
Region |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Region |
setKind(String kind)
[Output Only] Type of the resource.
|
Region |
setName(String name)
[Output Only] Name of the resource.
|
Region |
setQuotas(List<Quota> quotas)
[Output Only] Quotas assigned to this region.
|
Region |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Region |
setStatus(String status)
[Output Only] Status of the region, either UP or DOWN.
|
Region |
setZones(List<String> zones)
[Output Only] A list of zones available in this region, in the form of resource URLs.
|
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 String getCreationTimestamp()
null for nonepublic Region setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic Region setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic String getDescription()
null for nonepublic Region setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic Region setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic Region setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Region setName(String name)
name - name or null for nonepublic List<Quota> getQuotas()
null for nonepublic Region setQuotas(List<Quota> quotas)
quotas - quotas or null for nonepublic String getSelfLink()
null for nonepublic Region setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic Region setStatus(String status)
status - status or null for nonepublic List<String> getZones()
null for nonepublic Region setZones(List<String> zones)
zones - zones or null for nonepublic Region set(String fieldName, Object value)
set in class GenericJsonpublic Region clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.