public static final class ModifyNatGatewayAttributeRequest.Builder extends Object
public ModifyNatGatewayAttributeRequest.Builder description(String description)
The description must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
public ModifyNatGatewayAttributeRequest.Builder eipBindMode(String eipBindMode)
** **Description** * If EipBindMode is set to MULTI_BINDED when the NAT gateway is created, you can change the value of this parameter from **MULTI_BINDED** to **NAT**. If EipBindMode is set to NAT when the NAT gateway is created, you cannot change the value of this parameter from **NAT** to **MULTI_BINDED**. For more information about **MULTI_BINDED**, see [CreateNatGateway](~~120219~~). * When the mode in which the NAT gateway is associated with an EIP is being changed, a transient connection that lasts a few seconds may occur. If the number of EIPs with which the NAT gateway is associated increases, the transient connection lasts longer. You can change the mode only for a NAT gateway that is associated with up to five EIPs. We recommend that you change the mode during off-peak hours. * After the mode is changed to **NAT**, the Internet NAT gateway is compatible with the IPv4 gateway. However, if you associate an EIP with the NAT gateway, the EIP occupies one private IP address on the vSwitch of the NAT gateway. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, the EIP fails to be associated with the NAT gateway.
public ModifyNatGatewayAttributeRequest.Builder enableSessionLog(Boolean enableSessionLog)
public ModifyNatGatewayAttributeRequest.Builder icmpReplyEnabled(Boolean icmpReplyEnabled)
* **false** (default) * **true**
public ModifyNatGatewayAttributeRequest.Builder logDelivery(ModifyNatGatewayAttributeRequest.LogDelivery logDelivery)
public ModifyNatGatewayAttributeRequest.Builder name(String name)
The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
public ModifyNatGatewayAttributeRequest.Builder natGatewayId(String natGatewayId)
public ModifyNatGatewayAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyNatGatewayAttributeRequest.Builder ownerId(Long ownerId)
public ModifyNatGatewayAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyNatGatewayAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNatGatewayAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNatGatewayAttributeRequest build()
Copyright © 2024. All rights reserved.