public class Placement extends AbstractModel
| Constructor and Description | 
|---|
| Placement() | 
| Placement(Placement 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 | 
|---|---|
| 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, toJsonStringpublic Placement()
public Placement(Placement source)
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 © 2022. All rights reserved.