Class CreateCcnRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.CreateCcnRequest
-
public class CreateCcnRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateCcnRequest()CreateCcnRequest(CreateCcnRequest 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 StringgetBandwidthLimitType()Get 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。StringgetCcnDescription()Get CCN描述信息,最大长度不能超过100个字节。StringgetCcnName()Get CCN名称,最大长度不能超过60个字节。StringgetInstanceChargeType()Get 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。StringgetQosLevel()Get CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。Tag[]getTags()Get 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]voidsetBandwidthLimitType(String BandwidthLimitType)Set 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。voidsetCcnDescription(String CcnDescription)Set CCN描述信息,最大长度不能超过100个字节。voidsetCcnName(String CcnName)Set CCN名称,最大长度不能超过60个字节。voidsetInstanceChargeType(String InstanceChargeType)Set 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。voidsetQosLevel(String QosLevel)Set CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。voidsetTags(Tag[] Tags)Set 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]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
-
CreateCcnRequest
public CreateCcnRequest()
-
CreateCcnRequest
public CreateCcnRequest(CreateCcnRequest 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
-
getCcnName
public String getCcnName()
Get CCN名称,最大长度不能超过60个字节。- Returns:
- CcnName CCN名称,最大长度不能超过60个字节。
-
setCcnName
public void setCcnName(String CcnName)
Set CCN名称,最大长度不能超过60个字节。- Parameters:
CcnName- CCN名称,最大长度不能超过60个字节。
-
getCcnDescription
public String getCcnDescription()
Get CCN描述信息,最大长度不能超过100个字节。- Returns:
- CcnDescription CCN描述信息,最大长度不能超过100个字节。
-
setCcnDescription
public void setCcnDescription(String CcnDescription)
Set CCN描述信息,最大长度不能超过100个字节。- Parameters:
CcnDescription- CCN描述信息,最大长度不能超过100个字节。
-
getQosLevel
public String getQosLevel()
Get CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。- Returns:
- QosLevel CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。
-
setQosLevel
public void setQosLevel(String QosLevel)
Set CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。- Parameters:
QosLevel- CCN服务质量,`PT`:白金,`AU`:金,`AG`:银,默认为`AU`。
-
getInstanceChargeType
public String getInstanceChargeType()
Get 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。- Returns:
- InstanceChargeType 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。
-
setInstanceChargeType
public void setInstanceChargeType(String InstanceChargeType)
Set 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。- Parameters:
InstanceChargeType- 计费模式,`PREPAID`:表示预付费,即包年包月,`POSTPAID`:表示后付费,即按量计费。默认:`POSTPAID`。
-
getBandwidthLimitType
public String getBandwidthLimitType()
Get 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。- Returns:
- BandwidthLimitType 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。
-
setBandwidthLimitType
public void setBandwidthLimitType(String BandwidthLimitType)
Set 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。- Parameters:
BandwidthLimitType- 限速类型,`OUTER_REGION_LIMIT`表示地域出口限速,`INTER_REGION_LIMIT`为地域间限速,默认为`OUTER_REGION_LIMIT`。预付费模式仅支持地域间限速,后付费模式支持地域间限速和地域出口限速。
-
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"}]
-
-