CommonBandwidthPackageProps
Properties for defining a CommonBandwidthPackage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-commonbandwidthpackage
Initializer
import com.aliyun.ros.cdk.vpc.CommonBandwidthPackageProps;
CommonBandwidthPackageProps.builder()
.bandwidth(java.lang.Number)
.bandwidth(IResolvable)
// .deletionProtection(java.lang.Boolean)
// .deletionProtection(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .internetChargeType(java.lang.String)
// .internetChargeType(IResolvable)
// .isp(java.lang.String)
// .isp(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .ratio(java.lang.Number)
// .ratio(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .zone(java.lang.String)
// .zone(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
bandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidth: The peak bandwidth of the Internet Shared Bandwidth instance. |
deletionProtection |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property deletionProtection: Whether to enable deletion protection. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the Internet Shared Bandwidth instance. |
internetChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property internetChargeType: The billing model of the Internet Shared Bandwidth instance. |
isp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property isp: Line type of EIP, value: BGP (multi-line). |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the Internet Shared Bandwidth instance. |
ratio |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ratio: The minimum consumption ratio of the Internet Shared Bandwidth instance. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
zone |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zone: Zone Id. |
bandwidth
Required
public java.lang.Object getBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidth: The peak bandwidth of the Internet Shared Bandwidth instance.
Unit: Mbit/s.
deletionProtection
Optional
public java.lang.Object getDeletionProtection();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property deletionProtection: Whether to enable deletion protection.
Default to False.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the Internet Shared Bandwidth instance.
The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
internetChargeType
Optional
public java.lang.Object getInternetChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property internetChargeType: The billing model of the Internet Shared Bandwidth instance.
Allowed values: PayByBandwidth (default): Billed by bandwidth. PayBy95: Charged at Enhanced 95.
isp
Optional
public java.lang.Object getIsp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property isp: Line type of EIP, value: BGP (multi-line).
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the Internet Shared Bandwidth instance.
The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, and cannot start with http:// or https://.
ratio
Optional
public java.lang.Object getRatio();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ratio: The minimum consumption ratio of the Internet Shared Bandwidth instance.
Default to 100. Note This parameter is only supported on the China site.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
zone
Optional
public java.lang.Object getZone();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zone: Zone Id.