AnycastEIPProps
Properties for defining a AnycastEIP.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-anycasteip
Initializer
import com.aliyun.ros.cdk.vpc.AnycastEIPProps;
AnycastEIPProps.builder()
// .bandwidth(java.lang.Number)
// .bandwidth(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .instanceChargeType(java.lang.String)
// .instanceChargeType(IResolvable)
// .internetChargeType(java.lang.String)
// .internetChargeType(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .serviceLocation(java.lang.String)
// .serviceLocation(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
bandwidth | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property bandwidth: The peak bandwidth of the Anycast EIP instance. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the Anycast EIP instance. |
instanceChargeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceChargeType: The billing method of the Anycast EIP instance. |
internetChargeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property internetChargeType: The metering method for Internet data transfer. |
name | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property name: The name of the Anycast EIP instance. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The ID of the resource group. |
serviceLocation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property serviceLocation: Anycast EIP instance access area. |
bandwidthOptional
public java.lang.Object getBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property bandwidth: The peak bandwidth of the Anycast EIP instance.
Unit: Mbps. Valid values: 200 to 1000. Default value: 1000.
The peak bandwidth is for reference only and is not a guaranteed value. It serves as the upper limit for bandwidth.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the Anycast EIP instance.
The description must be 0 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
instanceChargeTypeOptional
public java.lang.Object getInstanceChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceChargeType: The billing method of the Anycast EIP instance.
Set the value to PostPaid. This value specifies the pay-as-you-go billing method.
internetChargeTypeOptional
public java.lang.Object getInternetChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property internetChargeType: The metering method for Internet data transfer.
Set the value to PayByTraffic. This value specifies the pay-by-data-transfer metering method.
nameOptional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the Anycast EIP instance.
The name must be 0 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, underscores (_), and hyphens (-).
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.
serviceLocationOptional
public java.lang.Object getServiceLocation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property serviceLocation: Anycast EIP instance access area.