public class Zone extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Zone.Status
Status of the region.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<ZoneId> |
getDeprecationStatus()
Returns the deprecation status of the zone.
|
String |
getDescription()
Returns an optional textual description of the zone.
|
String |
getGeneratedId()
Returns the service-generated unique identifier for the zone.
|
RegionId |
getRegion()
Returns the identity of the region that hosts the zone.
|
Zone.Status |
getStatus()
Returns the status of the zone.
|
ZoneId |
getZoneId()
Returns the zone's identity.
|
int |
hashCode() |
String |
toString() |
public ZoneId getZoneId()
public Long getCreationTimestamp()
public String getDescription()
public String getGeneratedId()
public Zone.Status getStatus()
public RegionId getRegion()
public DeprecationStatus<ZoneId> getDeprecationStatus()
DeprecationStatus.getStatus()
is either
DeprecationStatus.Status.DELETED
or DeprecationStatus.Status.OBSOLETE
the zone
should not be used. Returns null
if the zone is not deprecated.Copyright © 2019 Google LLC. All rights reserved.