public class BandwidthPackage extends AbstractModel
| Constructor and Description | 
|---|
BandwidthPackage()  | 
BandwidthPackage(BandwidthPackage 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 | 
getBandwidth()
Get The limit of the bandwidth package in Mbps. 
 | 
String | 
getBandwidthPackageId()
Get The unique ID of the bandwidth package. 
 | 
String | 
getBandwidthPackageName()
Get The name of the bandwidth package. 
 | 
String | 
getChargeType()
Get The bandwidth package billing mode. 
 | 
String | 
getCreatedTime()
Get The creation time of the bandwidth package, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`. 
 | 
String | 
getNetworkType()
Get The bandwidth package type. 
 | 
Resource[] | 
getResourceSet()
Get The resource information of the bandwidth package. 
 | 
String | 
getStatus()
Get The status of the bandwidth package. 
 | 
void | 
setBandwidth(Long Bandwidth)
Set The limit of the bandwidth package in Mbps. 
 | 
void | 
setBandwidthPackageId(String BandwidthPackageId)
Set The unique ID of the bandwidth package. 
 | 
void | 
setBandwidthPackageName(String BandwidthPackageName)
Set The name of the bandwidth package. 
 | 
void | 
setChargeType(String ChargeType)
Set The bandwidth package billing mode. 
 | 
void | 
setCreatedTime(String CreatedTime)
Set The creation time of the bandwidth package, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`. 
 | 
void | 
setNetworkType(String NetworkType)
Set The bandwidth package type. 
 | 
void | 
setResourceSet(Resource[] ResourceSet)
Set The resource information of the bandwidth package. 
 | 
void | 
setStatus(String Status)
Set The status of the bandwidth package. 
 | 
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, toJsonStringpublic BandwidthPackage()
public BandwidthPackage(BandwidthPackage source)
public String getBandwidthPackageId()
public void setBandwidthPackageId(String BandwidthPackageId)
BandwidthPackageId - The unique ID of the bandwidth package.public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType - The bandwidth package type. Valid values: 'BGP', 'SINGLEISP', and 'ANYCAST'public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType - The bandwidth package billing mode. Valid values: 'TOP5_POSTPAID_BY_MONTH' and 'PERCENT95_POSTPAID_BY_MONTH'public String getBandwidthPackageName()
public void setBandwidthPackageName(String BandwidthPackageName)
BandwidthPackageName - The name of the bandwidth package.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - The creation time of the bandwidth package, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`.public String getStatus()
public void setStatus(String Status)
Status - The status of the bandwidth package. Valid values: 'CREATING', 'CREATED', 'DELETING', and 'DELETED'.public Resource[] getResourceSet()
public void setResourceSet(Resource[] ResourceSet)
ResourceSet - The resource information of the bandwidth package.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth - The limit of the bandwidth package in Mbps. The value '-1' indicates there is no limit.Copyright © 2021. All rights reserved.