Package com.ibm.cloud.is.vpc.v1.model
Class Zone
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.Zone
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Zone extends com.ibm.cloud.sdk.core.service.model.GenericModel
Zone.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Zone.Status
The status of the zone.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDataCenter()
Gets the dataCenter.String
getHref()
Gets the href.String
getName()
Gets the name.RegionReference
getRegion()
Gets the region.String
getStatus()
Gets the status.String
getUniversalName()
Gets the universalName.
-
-
-
Method Detail
-
getDataCenter
public String getDataCenter()
Gets the dataCenter. The physical data center assigned to this logical zone. If absent, no physical data center has been assigned.- Returns:
- the dataCenter
-
getHref
public String getHref()
Gets the href. The URL for this zone.- Returns:
- the href
-
getName
public String getName()
Gets the name. The globally unique name for this zone.- Returns:
- the name
-
getRegion
public RegionReference getRegion()
Gets the region. The region this zone resides in.- Returns:
- the region
-
getStatus
public String getStatus()
Gets the status. The status of the zone. - `available`: The zone is available to create and manage resources. - `impaired`: The zone's availability and performance to create and manage resources may be impaired. - `unavailable`: The zone is unavailable to create and manage resources. - `unassigned`: The zone has not been assigned to a physical zone. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getUniversalName
public String getUniversalName()
Gets the universalName. The [universal name](https://cloud.ibm.com/docs/overview?topic=overview-locations#zone-mapping) for this zone. Will be absent if this zone has a `status` of `unassigned`.- Returns:
- the universalName
-
-