public class CreateCommonBandwidthPackageRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
bandwidth
The maximum bandwidth of the Internet Shared Bandwidth instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the Internet Shared Bandwidth instance.
|
String |
internetChargeType
The billing method of the Internet Shared Bandwidth instance.
|
String |
ISP
The line type.
|
String |
name
The name of the Internet Shared Bandwidth instance.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
ratio
The percentage of the minimum bandwidth commitment.
|
String |
regionId
The region ID of the Internet Shared Bandwidth instance.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<String> |
securityProtectionTypes
example:
AntiDDoS_Enhanced
|
String |
zone
The zone of the Internet Shared Bandwidth instance.
|
构造器和说明 |
---|
CreateCommonBandwidthPackageRequest() |
@NameInMap(value="Bandwidth") public Integer bandwidth
The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
Valid values: 1 to 1000. Default value: 1.
This parameter is required.
example:1000
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
example:02fb3da4-130e-11e9-8e44-001****
@NameInMap(value="Description") public String description
The description of the Internet Shared Bandwidth instance.
The description must be 2 to 256 characters in length and start with a letter. The description cannot start with http://
or https://
.
abc
@NameInMap(value="ISP") public String ISP
The line type. Valid values:
If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to BGP_FinanceCloud.
example:BGP
@NameInMap(value="InternetChargeType") public String internetChargeType
The billing method of the Internet Shared Bandwidth instance. Set the value to PayByTraffic, which specifies the pay-by-data-transfer billing method.
@NameInMap(value="Name") public String name
The name of the Internet Shared Bandwidth instance.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
example:test123
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Ratio") public Integer ratio
The percentage of the minimum bandwidth commitment. Set the parameter to 20.
This parameter is available only on the Alibaba Cloud China site.
example:20
@NameInMap(value="RegionId") public String regionId
The region ID of the Internet Shared Bandwidth instance.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
example:rg-acfmxazdjdhd****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityProtectionTypes") public List<String> securityProtectionTypes
AntiDDoS_Enhanced
@NameInMap(value="Zone") public String zone
The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
example:ap-southeast-1-lzdvn-cb
public static CreateCommonBandwidthPackageRequest build(Map<String,?> map) throws Exception
Exception
public CreateCommonBandwidthPackageRequest setBandwidth(Integer bandwidth)
public Integer getBandwidth()
public CreateCommonBandwidthPackageRequest setClientToken(String clientToken)
public String getClientToken()
public CreateCommonBandwidthPackageRequest setDescription(String description)
public String getDescription()
public CreateCommonBandwidthPackageRequest setISP(String ISP)
public String getISP()
public CreateCommonBandwidthPackageRequest setInternetChargeType(String internetChargeType)
public String getInternetChargeType()
public CreateCommonBandwidthPackageRequest setName(String name)
public String getName()
public CreateCommonBandwidthPackageRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateCommonBandwidthPackageRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateCommonBandwidthPackageRequest setRatio(Integer ratio)
public Integer getRatio()
public CreateCommonBandwidthPackageRequest setRegionId(String regionId)
public String getRegionId()
public CreateCommonBandwidthPackageRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateCommonBandwidthPackageRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateCommonBandwidthPackageRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateCommonBandwidthPackageRequest setSecurityProtectionTypes(List<String> securityProtectionTypes)
public CreateCommonBandwidthPackageRequest setZone(String zone)
public String getZone()
Copyright © 2024. All rights reserved.