public class Placement extends AbstractModel
Constructor and Description |
---|
Placement() |
Modifier and Type | Method and Description |
---|---|
Long |
getProjectId()
Get ID of the project to which the instance belongs.
|
String |
getZone()
Get AZ where the instance resides, such as ap-guangzhou-1.
|
void |
setProjectId(Long ProjectId)
Set ID of the project to which the instance belongs.
|
void |
setZone(String Zone)
Set AZ where the instance resides, such as ap-guangzhou-1.
|
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 Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If 0 is entered, the default project will be used.public String getZone()
public void setZone(String Zone)
Zone
- AZ where the instance resides, such as ap-guangzhou-1. You can call the `DescribeZones` API and see the `Zone` field to get the value of this parameter.Copyright © 2020. All rights reserved.