public static final class CreateSnatEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateSnatEntryRequest |
build() |
CreateSnatEntryRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the Network Address Translation (NAT) gateway.
|
CreateSnatEntryRequest.Builder |
snatEntryName(String snatEntryName)
The name of the SNAT entry.
|
CreateSnatEntryRequest.Builder |
snatIp(String snatIp)
The elastic IP address (EIP) in the SNAT entry.
|
CreateSnatEntryRequest.Builder |
sourceCIDR(String sourceCIDR)
The CIDR block.
|
CreateSnatEntryRequest.Builder |
sourceNetworkId(String sourceNetworkId)
The ID of the network.
|
CreateSnatEntryRequest.Builder |
sourceVSwitchId(String sourceVSwitchId)
The ID of the vSwitch that you need to access over the Internet.
|
CreateSnatEntryRequest.Builder |
standbySnatIp(String standbySnatIp)
The secondary EIP in the SNAT entry.
|
public CreateSnatEntryRequest.Builder natGatewayId(String natGatewayId)
public CreateSnatEntryRequest.Builder snatEntryName(String snatEntryName)
public CreateSnatEntryRequest.Builder snatIp(String snatIp)
public CreateSnatEntryRequest.Builder sourceCIDR(String sourceCIDR)
> If you specify **SourceVSwitchId** and **SourceCIDR**, **SourceVSwitchId** does not take effect. The value that you specified for **SourceCIDR** takes precedence.
public CreateSnatEntryRequest.Builder sourceNetworkId(String sourceNetworkId)
> If you specify **SourceNetworkId** and **SourceVSwitchId** or **SourceCIDR**, **SourceNetworkId** does not take effect. The value that you specified for **SourceCIDR** takes precedence. Priority: **SourceCIDR** > **SourceVSwitchId** > **SourceNetworkId**.
public CreateSnatEntryRequest.Builder sourceVSwitchId(String sourceVSwitchId)
> If you specify **SourceVSwitchId** and **SourceCIDR**, **SourceVSwitchId** does not take effect. The value that you specified for **SourceCIDR** takes precedence.
public CreateSnatEntryRequest.Builder standbySnatIp(String standbySnatIp)
public CreateSnatEntryRequest build()
Copyright © 2024. All rights reserved.