SNatEntryProps
Properties for defining a SNatEntry.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
Initializer
import com.aliyun.ros.cdk.ecs.SNatEntryProps;
SNatEntryProps.builder()
.sNatIp(java.lang.String)
.sNatIp(IResolvable)
.sNatTableId(java.lang.String)
.sNatTableId(IResolvable)
// .snatEntryName(java.lang.String)
// .snatEntryName(IResolvable)
// .sourceCidr(java.lang.String)
// .sourceCidr(IResolvable)
// .sourceVSwitchId(java.lang.String)
// .sourceVSwitchId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
sNatIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sNatIp: Source IP, must belongs to bandwidth package internet IP. |
sNatTableId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sNatTableId: Create SNAT entry in specified SNAT table. |
snatEntryName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/. |
sourceCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceCidr: Specifies the network segment of the switch. |
sourceVSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceVSwitchId: Allow which switch can access internet. |
sNatIpRequired
public java.lang.Object getSNatIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sNatIp: Source IP, must belongs to bandwidth package internet IP.
sNatTableIdRequired
public java.lang.Object getSNatTableId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sNatTableId: Create SNAT entry in specified SNAT table.
snatEntryNameOptional
public java.lang.Object getSnatEntryName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
sourceCidrOptional
public java.lang.Object getSourceCidr();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceCidr: Specifies the network segment of the switch.
For example, 10.0.0.1/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
sourceVSwitchIdOptional
public java.lang.Object getSourceVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceVSwitchId: Allow which switch can access internet.