Class CloudRegionOrZone (1.12.16)

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
NameDescription
regionCloudRegion
Returns
TypeDescription
CloudRegionOrZone

of(CloudZone zone)

public static CloudRegionOrZone of(CloudZone zone)
Parameter
NameDescription
zoneCloudZone
Returns
TypeDescription
CloudRegionOrZone

parse(String value)

public static CloudRegionOrZone parse(String value)
Parameter
NameDescription
valueString
Returns
TypeDescription
CloudRegionOrZone
Exceptions
TypeDescription
ApiException

Constructors

CloudRegionOrZone()

public CloudRegionOrZone()

Methods

extractRegion()

public CloudRegion extractRegion()

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

Returns
TypeDescription
CloudRegion

getKind()

public abstract CloudRegionOrZone.Kind getKind()
Returns
TypeDescription
CloudRegionOrZone.Kind

region()

public abstract CloudRegion region()
Returns
TypeDescription
CloudRegion

toString()

public String toString()
Returns
TypeDescription
String
Overrides

zone()

public abstract CloudZone zone()
Returns
TypeDescription
CloudZone