Class CloudZone (1.14.8)

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
Name Description
region CloudRegion
zoneId char
Returns
Type Description
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
Name Description
zone String
Returns
Type Description
CloudZone
Exceptions
Type Description
ApiException

Constructors

CloudZone()

public CloudZone()

Methods

region()

public abstract CloudRegion region()

The region this zone is in.

Returns
Type Description
CloudRegion

toString()

public final String toString()
Returns
Type Description
String
Overrides

zoneId()

public abstract char zoneId()

The character identifier for this zone in this region.

Returns
Type Description
char