Skip to content

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 maximum 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 method of the Internet Shared Bandwidth instance.
isp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property isp: The line type.
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 percentage of the minimum bandwidth commitment.
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: The zone of the Internet Shared Bandwidth instance.

bandwidthRequired

public java.lang.Object getBandwidth();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.

Unit: Mbit/s. Valid values: 1 to 1000. Default value: 1.


deletionProtectionOptional

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.


descriptionOptional

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 0 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.


internetChargeTypeOptional

public java.lang.Object getInternetChargeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property internetChargeType: The billing method of the Internet Shared Bandwidth instance.

Set the value to PayByTraffic, which specifies the pay-by-data-transfer billing method.


ispOptional

public java.lang.Object getIsp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property isp: The line type.

Valid values:

  • BGP (default) All regions support BGP (Multi-ISP).
  • BGP_PRO BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions. If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
  • ChinaTelecom
  • ChinaUnicom
  • ChinaMobile
  • ChinaTelecom_L2
  • ChinaUnicom_L2
  • ChinaMobile_L2 If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to BGP_FinanceCloud.

nameOptional

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 0 to 128 characters in length and cannot start with http:\/\/ or https:\/\/.


ratioOptional

public java.lang.Object getRatio();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ratio: The percentage of the minimum bandwidth commitment.

Set the parameter to 20.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


tagsOptional

public java.util.List<TagsProperty> getTags();

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.


zoneOptional

public java.lang.Object getZone();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property 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.