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 The ID of the project to which the instance belongs. | 
| String | getZone()Get The ID of the availability zone where the instance resides, such as `ap-guangzhou-1`. | 
| void | setProjectId(Long ProjectId)Set The ID of the project to which the instance belongs. | 
| void | setZone(String Zone)Set The ID of the availability zone 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 String getZone()
public void setZone(String Zone)
Zone - The ID of the availability zone where the instance resides, such as `ap-guangzhou-1`. You can call the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1) API and obtain this ID from the `Zone` field in the response.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - The ID of the project to which the instance belongs. You can call the [DescribeProject](https://intl.cloud.tencent.com/document/api/651/78725?from_cn_redirect=1) and obtain this ID from the `projectId` field in the response. If this is left empty, the ID of the default project is used.Copyright © 2022. All rights reserved.