public class CreateBandwidthPackageRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateBandwidthPackageRequest() |
CreateBandwidthPackageRequest(CreateBandwidthPackageRequest 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 |
getBandwidthPackageCount()
Get The number of bandwidth packages to create.
|
String |
getBandwidthPackageName()
Get The name of the bandwidth package.
|
String |
getChargeType()
Get The billing mode of the bandwidth package.
|
Long |
getInternetMaxBandwidth()
Get The limit of the bandwidth package in Mbps.
|
String |
getNetworkType()
Get The network type of the bandwidth package.
|
String |
getProtocol()
Get The protocol type of the bandwidth package.
|
Tag[] |
getTags()
Get The list of tags to be bound.
|
void |
setBandwidthPackageCount(Long BandwidthPackageCount)
Set The number of bandwidth packages to create.
|
void |
setBandwidthPackageName(String BandwidthPackageName)
Set The name of the bandwidth package.
|
void |
setChargeType(String ChargeType)
Set The billing mode of the bandwidth package.
|
void |
setInternetMaxBandwidth(Long InternetMaxBandwidth)
Set The limit of the bandwidth package in Mbps.
|
void |
setNetworkType(String NetworkType)
Set The network type of the bandwidth package.
|
void |
setProtocol(String Protocol)
Set The protocol type of the bandwidth package.
|
void |
setTags(Tag[] Tags)
Set The list of tags to be bound.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateBandwidthPackageRequest()
public CreateBandwidthPackageRequest(CreateBandwidthPackageRequest source)
public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType
- The network type of the bandwidth package. Default value: `BGP`. Valid values:
`BGP`
`HIGH_QUALITY_BGP`public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType
- The billing mode of the bandwidth package. Default value: `TOP5_POSTPAID_BY_MONTH`. Valid values:
public String getBandwidthPackageName()
public void setBandwidthPackageName(String BandwidthPackageName)
BandwidthPackageName
- The name of the bandwidth package.public Long getBandwidthPackageCount()
public void setBandwidthPackageCount(Long BandwidthPackageCount)
BandwidthPackageCount
- The number of bandwidth packages to create. Valid range: 1-20. It can only be “1” for bill-by-CVM accounts.public Long getInternetMaxBandwidth()
public void setInternetMaxBandwidth(Long InternetMaxBandwidth)
InternetMaxBandwidth
- The limit of the bandwidth package in Mbps. The value '-1' indicates there is no limit. This feature is currently in beta.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- The list of tags to be bound.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- The protocol type of the bandwidth package. Valid values: 'ipv4' and 'ipv6'. Default value: 'ipv4'.Copyright © 2024. All rights reserved.