public static final class ModifySnatEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifySnatEntryRequest |
build() |
ModifySnatEntryRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifySnatEntryRequest.Builder |
eipAffinity(Integer eipAffinity)
EipAffinity.
|
ModifySnatEntryRequest.Builder |
networkInterfaceId(String networkInterfaceId)
NetworkInterfaceId.
|
ModifySnatEntryRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifySnatEntryRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifySnatEntryRequest.Builder |
regionId(String regionId)
The region ID of the NAT gateway.
|
ModifySnatEntryRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifySnatEntryRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ModifySnatEntryRequest.Builder |
snatEntryId(String snatEntryId)
The ID of the SNAT entry that you want to modify.
|
ModifySnatEntryRequest.Builder |
snatEntryName(String snatEntryName)
The name of the SNAT entry.
|
ModifySnatEntryRequest.Builder |
snatIp(String snatIp)
* The elastic IP addresses (EIPs) specified in the SNAT entry when you modify an SNAT entry of an Internet NAT gateway.
|
ModifySnatEntryRequest.Builder |
snatTableId(String snatTableId)
The ID of the SNAT table to which the SNAT entry belongs.
|
public ModifySnatEntryRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
public ModifySnatEntryRequest.Builder eipAffinity(Integer eipAffinity)
public ModifySnatEntryRequest.Builder networkInterfaceId(String networkInterfaceId)
public ModifySnatEntryRequest.Builder ownerAccount(String ownerAccount)
public ModifySnatEntryRequest.Builder ownerId(Long ownerId)
public ModifySnatEntryRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to obtain the region ID.
public ModifySnatEntryRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifySnatEntryRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifySnatEntryRequest.Builder snatEntryId(String snatEntryId)
public ModifySnatEntryRequest.Builder snatEntryName(String snatEntryName)
The name must be 2 to 128 characters in length. It must start with a letter but cannot start with `http://` or `https://`.
public ModifySnatEntryRequest.Builder snatIp(String snatIp)
If you select multiple EIPs to create an SNAT address pool, connections are hashed to these EIPs. Network traffic may not be evenly distributed to the EIPs because the amount of traffic passes through each connection varies. We recommend that you associate these EIPs with the same EIP bandwidth plan to prevent service interruptions due to the bandwidth limit of an individual EIP. * When you modify an SNAT entry of a VPC NAT gateway, this parameter specifies the NAT IP address in the SNAT entry.
public ModifySnatEntryRequest.Builder snatTableId(String snatTableId)
public ModifySnatEntryRequest build()
Copyright © 2024. All rights reserved.