Class CloudRegionOrZone (1.14.8)

public abstract class CloudRegionOrZone implements Serializable

Inheritance

java.lang.Object > CloudRegionOrZone

Implements

Serializable

Static Methods

of(CloudRegion region)

public static CloudRegionOrZone of(CloudRegion region)
Parameter
Name Description
region CloudRegion
Returns
Type Description
CloudRegionOrZone

of(CloudZone zone)

public static CloudRegionOrZone of(CloudZone zone)
Parameter
Name Description
zone CloudZone
Returns
Type Description
CloudRegionOrZone

parse(String value)

public static CloudRegionOrZone parse(String value)
Parameter
Name Description
value String
Returns
Type Description
CloudRegionOrZone
Exceptions
Type Description
ApiException

Constructors

CloudRegionOrZone()

public CloudRegionOrZone()

Methods

extractRegion()

public CloudRegion extractRegion()

Extract the region from this regardless of which case is set.

Returns
Type Description
CloudRegion

getKind()

public abstract CloudRegionOrZone.Kind getKind()
Returns
Type Description
CloudRegionOrZone.Kind

region()

public abstract CloudRegion region()
Returns
Type Description
CloudRegion

toString()

public String toString()
Returns
Type Description
String
Overrides

zone()

public abstract CloudZone zone()
Returns
Type Description
CloudZone