CustomerGatewayProps
Properties for defining a CustomerGateway
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-customergateway
Initializer
import com.aliyun.ros.cdk.vpc.CustomerGatewayProps;
CustomerGatewayProps.builder()
.ipAddress(java.lang.String)
.ipAddress(IResolvable)
// .asn(java.lang.Number)
// .asn(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
ipAddress |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ipAddress: The IP address of the user gateway. |
asn |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property asn: The autonomous system number of the local data center gateway device. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of the user gateway. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the user gateway. |
ipAddress
Required
public java.lang.Object getIpAddress();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ipAddress: The IP address of the user gateway.
asn
Optional
public java.lang.Object getAsn();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property asn: The autonomous system number of the local data center gateway device.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the user gateway.
The length is 2-256 characters and must start with a letter or Chinese, but cannot start with http:// or https://.
name
Optional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the user gateway.
The length is 2-128 characters and must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_), and dashes (-). But it can't start with http:// or https://.