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 |
|---|---|
Long |
creationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<ZoneId> |
deprecationStatus()
Returns the deprecation status of the zone.
|
String |
description()
Returns an optional textual description of the zone.
|
boolean |
equals(Object obj) |
String |
generatedId()
Returns the service-generated unique identifier for the zone.
|
int |
hashCode() |
RegionId |
region()
Returns the identity of the region that hosts the zone.
|
Zone.Status |
status()
Returns the status of the zone.
|
String |
toString() |
ZoneId |
zoneId()
Returns the zone's identity.
|
public ZoneId zoneId()
public Long creationTimestamp()
public String description()
public String generatedId()
public Zone.Status status()
public RegionId region()
public DeprecationStatus<ZoneId> deprecationStatus()
DeprecationStatus.status() is either
DeprecationStatus.Status.DELETED or DeprecationStatus.Status.OBSOLETE the zone
should not be used. Returns null if the zone is not deprecated.Copyright © 2016 Google. All rights reserved.