public class AvailableRegion extends AbstractModel
Constructor and Description |
---|
AvailableRegion() |
AvailableRegion(AvailableRegion source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getRegion()
Get Region name, such as "ap-beijing"
|
String |
getRegionCnName()
Get Region name, such as "Guangzhou"
|
String |
getRegionName()
Get Region name, such as "bj"
|
String |
getRegionStatus()
Get Region availability.
|
AvailableZone[] |
getZones()
Get Array of AZs
|
void |
setRegion(String Region)
Set Region name, such as "ap-beijing"
|
void |
setRegionCnName(String RegionCnName)
Set Region name, such as "Guangzhou"
|
void |
setRegionName(String RegionName)
Set Region name, such as "bj"
|
void |
setRegionStatus(String RegionStatus)
Set Region availability.
|
void |
setZones(AvailableZone[] Zones)
Set Array of AZs
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AvailableRegion()
public AvailableRegion(AvailableRegion source)
public String getRegion()
public void setRegion(String Region)
Region
- Region name, such as "ap-beijing"public String getRegionName()
public void setRegionName(String RegionName)
RegionName
- Region name, such as "bj"public String getRegionStatus()
public void setRegionStatus(String RegionStatus)
RegionStatus
- Region availability. If a region has at least one AZ where resources are purchasable, this value will be `AVAILABLE`; otherwise, it will be `UNAVAILABLE`public AvailableZone[] getZones()
public void setZones(AvailableZone[] Zones)
Zones
- Array of AZspublic String getRegionCnName()
public void setRegionCnName(String RegionCnName)
RegionCnName
- Region name, such as "Guangzhou"Copyright © 2022. All rights reserved.