public class CreateSubnetsRequest extends AbstractModel
Constructor and Description |
---|
CreateSubnetsRequest() |
CreateSubnetsRequest(CreateSubnetsRequest 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 |
getCdcId()
Get ID of the CDC instance to which the subnets will be created
|
SubnetInput[] |
getSubnets()
Get The subnet object list.
|
Tag[] |
getTags()
Get Bound tags.
|
String |
getVpcId()
Get The `ID` of the `VPC` instance, such as `vpc-6v2ht8q5`.
|
void |
setCdcId(String CdcId)
Set ID of the CDC instance to which the subnets will be created
|
void |
setSubnets(SubnetInput[] Subnets)
Set The subnet object list.
|
void |
setTags(Tag[] Tags)
Set Bound tags.
|
void |
setVpcId(String VpcId)
Set The `ID` of the `VPC` instance, such as `vpc-6v2ht8q5`.
|
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 CreateSubnetsRequest()
public CreateSubnetsRequest(CreateSubnetsRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The `ID` of the `VPC` instance, such as `vpc-6v2ht8q5`.public SubnetInput[] getSubnets()
public void setSubnets(SubnetInput[] Subnets)
Subnets
- The subnet object list.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags. Note that the collection of tags here is shared by all subnet objects in the list. You cannot specify tags for each subnet. Example: [{"Key": "city", "Value": "shanghai"}].public String getCdcId()
public void setCdcId(String CdcId)
CdcId
- ID of the CDC instance to which the subnets will be createdCopyright © 2023. All rights reserved.