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 Project ID of the instance.
|
String |
getZone()
Get The ID of the availability zone where the instance resides, such as `ap-guangzhou-1`.
|
void |
setProjectId(Long ProjectId)
Set Project ID of the instance.
|
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, toJsonString
public 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
- Project ID of the instance. If no ID is passed in, the default project ID is used.Copyright © 2023. All rights reserved.