public class Placement extends AbstractModel
Constructor and Description |
---|
Placement() |
Modifier and Type | Method and Description |
---|---|
Integer |
getProjectId()
获取实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
String |
getZone()
获取实例所属的[可用区](/document/api/213/9452#zone)ID。该参数也可以通过调用 [DescribeZones](/document/product/213/15707) 的返回值中的Zone字段来获取。
|
void |
setProjectId(Integer ProjectId)
设置实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
void |
setZone(String Zone)
设置实例所属的[可用区](/document/api/213/9452#zone)ID。该参数也可以通过调用 [DescribeZones](/document/product/213/15707) 的返回值中的Zone字段来获取。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
fromJsonString, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getZone()
public void setZone(String Zone)
Zone
- 实例所属的[可用区](/document/api/213/9452#zone)ID。该参数也可以通过调用 [DescribeZones](/document/product/213/15707) 的返回值中的Zone字段来获取。public Integer getProjectId()
public void setProjectId(Integer ProjectId)
ProjectId
- 实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。Copyright © 2018. All rights reserved.