public static final class CreateFullNatEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateFullNatEntryRequest.Builder |
accessIp(String accessIp)
The backend IP address to be modified in FULLNAT address translation.
|
CreateFullNatEntryRequest.Builder |
accessPort(String accessPort)
The backend port to be modified in the mapping of FULLNAT port.
|
CreateFullNatEntryRequest |
build() |
CreateFullNatEntryRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateFullNatEntryRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to only precheck this request.
|
CreateFullNatEntryRequest.Builder |
fullNatEntryDescription(String fullNatEntryDescription)
The description of the FULLNAT entry.
|
CreateFullNatEntryRequest.Builder |
fullNatEntryName(String fullNatEntryName)
The FULLNAT entry name.
|
CreateFullNatEntryRequest.Builder |
fullNatTableId(String fullNatTableId)
The ID of the FULLNAT table to which the FULLNAT entry belongs.
|
CreateFullNatEntryRequest.Builder |
ipProtocol(String ipProtocol)
The protocol of the packets that are forwarded by the port.
|
CreateFullNatEntryRequest.Builder |
natIp(String natIp)
The NAT IP address that provides address translation.
|
CreateFullNatEntryRequest.Builder |
natIpPort(String natIpPort)
The frontend port to be modified in the mapping of FULLNAT port.
|
CreateFullNatEntryRequest.Builder |
networkInterfaceId(String networkInterfaceId)
The elastic network interface (ENI) ID.
|
CreateFullNatEntryRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateFullNatEntryRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateFullNatEntryRequest.Builder |
regionId(String regionId)
The region ID of the Virtual Private Cloud (VPC) NAT gateway to which the FULLNAT entry to be added belongs.
|
CreateFullNatEntryRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateFullNatEntryRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public CreateFullNatEntryRequest.Builder accessIp(String accessIp)
public CreateFullNatEntryRequest.Builder accessPort(String accessPort)
public CreateFullNatEntryRequest.Builder clientToken(String clientToken)
You can use the client to generate a value, and you must make sure that each request has a unique token value. The client token can contain only ASCII characters. > If you do not specify this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. The **request ID** may be different for each request.
public CreateFullNatEntryRequest.Builder dryRun(Boolean dryRun)
* **true**: prechecks the request without adding the FULLNAT entry. The system checks whether your AccessKey pair is valid, whether RAM users are granted required permissions, and whether the required parameters are set. If the request fails to pass the precheck, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned. * **false**: sends the API request. This is the default value. After the request passes the precheck, a 2XX HTTP status code is returned and the FULLNAT entry is added.
public CreateFullNatEntryRequest.Builder fullNatEntryDescription(String fullNatEntryDescription)
This parameter is optional. If you enter a description, the description must be 2 to 256 characters in length, and cannot start with `http://` or `https://`.
public CreateFullNatEntryRequest.Builder fullNatEntryName(String fullNatEntryName)
public CreateFullNatEntryRequest.Builder fullNatTableId(String fullNatTableId)
public CreateFullNatEntryRequest.Builder ipProtocol(String ipProtocol)
* **TCP** * **UDP**
public CreateFullNatEntryRequest.Builder natIp(String natIp)
public CreateFullNatEntryRequest.Builder natIpPort(String natIpPort)
public CreateFullNatEntryRequest.Builder networkInterfaceId(String networkInterfaceId)
public CreateFullNatEntryRequest.Builder ownerAccount(String ownerAccount)
public CreateFullNatEntryRequest.Builder ownerId(Long ownerId)
public CreateFullNatEntryRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateFullNatEntryRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateFullNatEntryRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateFullNatEntryRequest build()
Copyright © 2024. All rights reserved.