Class CreateSubnetsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.CreateSubnetsRequest
-
public class CreateSubnetsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCdcId()Get 需要增加到的CDC实例ID。SubnetInput[]getSubnets()Get 子网对象列表。Tag[]getTags()Get 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。StringgetVpcId()Get `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。voidsetCdcId(String CdcId)Set 需要增加到的CDC实例ID。voidsetSubnets(SubnetInput[] Subnets)Set 子网对象列表。voidsetTags(Tag[] Tags)Set 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。voidsetVpcId(String VpcId)Set `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateSubnetsRequest
public CreateSubnetsRequest()
-
CreateSubnetsRequest
public 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.
-
-
Method Detail
-
getVpcId
public String getVpcId()
Get `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。- Returns:
- VpcId `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。
-
setVpcId
public void setVpcId(String VpcId)
Set `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。- Parameters:
VpcId- `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。
-
getSubnets
public SubnetInput[] getSubnets()
Get 子网对象列表。- Returns:
- Subnets 子网对象列表。
-
setSubnets
public void setSubnets(SubnetInput[] Subnets)
Set 子网对象列表。- Parameters:
Subnets- 子网对象列表。
-
getTags
public Tag[] getTags()
Get 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。- Returns:
- Tags 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。
-
setTags
public void setTags(Tag[] Tags)
Set 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。- Parameters:
Tags- 指定绑定的标签列表,注意这里的标签集合为列表中所有子网对象所共享,不能为每个子网对象单独指定标签,例如:[{"Key": "city", "Value": "shanghai"}]。
-
getCdcId
public String getCdcId()
Get 需要增加到的CDC实例ID。- Returns:
- CdcId 需要增加到的CDC实例ID。
-
setCdcId
public void setCdcId(String CdcId)
Set 需要增加到的CDC实例ID。- Parameters:
CdcId- 需要增加到的CDC实例ID。
-
-