Class CloudZone (1.4.12)

public abstract class CloudZone implements Serializable

A representation of a Google Cloud zone.

Inheritance

java.lang.Object > CloudZone

Implements

Serializable

Static Methods

of(CloudRegion region, char zoneId)

public static CloudZone of(CloudRegion region, char zoneId)

A google cloud zone.

Parameters
NameDescription
regionCloudRegion
zoneIdchar
Returns
TypeDescription
CloudZone

parse(String zone)

public static CloudZone parse(String zone)

Construct a CloudZone from a valid zone string. zone must be formatted as: <location>-<direction><number>-<letter>

Parameter
NameDescription
zoneString
Returns
TypeDescription
CloudZone
Exceptions
TypeDescription
ApiException

Constructors

CloudZone()

public CloudZone()

Methods

region()

public abstract CloudRegion region()

The region this zone is in.

Returns
TypeDescription
CloudRegion

toString()

public final String toString()
Returns
TypeDescription
String
Overrides

zoneId()

public abstract char zoneId()

The character identifier for this zone in this region.

Returns
TypeDescription
char