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 |
---|---|
String |
getCageId()
Get Cage ID.
|
String |
getCdcId()
Get ID of dedicated cluster which the instance belongs to.
|
String |
getCdcName()
Get Dedicated cluster name.
|
String |
getDedicatedClusterId()
Get Dedicated cluster ID
|
Long |
getProjectId()
Get ID of the project to which the instance belongs.
|
String |
getZone()
Get The ID of the [Availability Zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) to which the cloud disk belongs.
|
void |
setCageId(String CageId)
Set Cage ID.
|
void |
setCdcId(String CdcId)
Set ID of dedicated cluster which the instance belongs to.
|
void |
setCdcName(String CdcName)
Set Dedicated cluster name.
|
void |
setDedicatedClusterId(String DedicatedClusterId)
Set Dedicated cluster ID
|
void |
setProjectId(Long ProjectId)
Set ID of the project to which the instance belongs.
|
void |
setZone(String Zone)
Set The ID of the [Availability Zone](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) to which the cloud disk belongs.
|
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](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) to which the cloud disk belongs. This parameter can be obtained from the Zone field in the returned values of [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1).public String getCageId()
public void setCageId(String CageId)
CageId
- Cage ID. When it is an input parameter, the specified CageID resource is operated, and it can be left blank. When it is an output parameter, it is the ID of the cage the resource belongs to, and it can be left blank.
Note: This field may return null, indicating that no valid value was found.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 returned values of [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1). If this is left empty, default project is used.public String getCdcName()
public void setCdcName(String CdcName)
CdcName
- Dedicated cluster name. When it is an input parameter, it is ignored. When it is an output parameter, it is the name of the dedicated cluster the cloud disk belongs to, and it can be left blank.
Note: This field may return null, indicating that no valid value was found.public String getCdcId()
public void setCdcId(String CdcId)
CdcId
- ID of dedicated cluster which the instance belongs to. When it is an input parameter, the specified CdcId dedicated cluster resource is operated, and it can be left blank. When it is an output parameter, it is the ID of the dedicated cluster which the resource belongs to, and it can be left blank.
Note: This field may return null, indicating that no valid value was found.public String getDedicatedClusterId()
public void setDedicatedClusterId(String DedicatedClusterId)
DedicatedClusterId
- Dedicated cluster IDCopyright © 2021. All rights reserved.