public class ModifyNatGatewayAttributeShrinkRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the NAT gateway.
|
String |
eipBindMode
The mode in which the NAT gateway is associated with an elastic IP address (EIP).
|
Boolean |
enableSessionLog |
Boolean |
icmpReplyEnabled
Specifies whether to enable the Internet Control Message Protocol (ICMP) non-retrieval feature.
|
String |
logDeliveryShrink |
String |
name
The name of the NAT gateway.
|
String |
natGatewayId
The ID of the NAT gateway.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the NAT gateway.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyNatGatewayAttributeShrinkRequest() |
@NameInMap(value="Description") public String description
The description of the NAT gateway.
The description must be 1 to 128 characters in length, and cannot start with http://
or https://
.
Description
@NameInMap(value="EipBindMode") public String eipBindMode
The mode in which the NAT gateway is associated with an elastic IP address (EIP). You can leave this parameter empty. If you want to specify a value for this parameter, set the value to NAT, which indicates that the NAT gateway is associated with the EIP in NAT mode.
**
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.
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.
NAT
@NameInMap(value="EnableSessionLog") public Boolean enableSessionLog
@NameInMap(value="IcmpReplyEnabled") public Boolean icmpReplyEnabled
Specifies whether to enable the Internet Control Message Protocol (ICMP) non-retrieval feature. Valid values:
false
@NameInMap(value="LogDelivery") public String logDeliveryShrink
@NameInMap(value="Name") public String name
The name of the NAT gateway.
The name must be 1 to 128 characters in length and cannot start with http://
or https://
.
nat123
@NameInMap(value="NatGatewayId") public String natGatewayId
The ID of the NAT gateway.
This parameter is required.
example:ngw-2ze0dcn4mq31qx2jc****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the NAT gateway.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static ModifyNatGatewayAttributeShrinkRequest build(Map<String,?> map) throws Exception
Exception
public ModifyNatGatewayAttributeShrinkRequest setDescription(String description)
public String getDescription()
public ModifyNatGatewayAttributeShrinkRequest setEipBindMode(String eipBindMode)
public String getEipBindMode()
public ModifyNatGatewayAttributeShrinkRequest setEnableSessionLog(Boolean enableSessionLog)
public Boolean getEnableSessionLog()
public ModifyNatGatewayAttributeShrinkRequest setIcmpReplyEnabled(Boolean icmpReplyEnabled)
public Boolean getIcmpReplyEnabled()
public ModifyNatGatewayAttributeShrinkRequest setLogDeliveryShrink(String logDeliveryShrink)
public String getLogDeliveryShrink()
public ModifyNatGatewayAttributeShrinkRequest setName(String name)
public String getName()
public ModifyNatGatewayAttributeShrinkRequest setNatGatewayId(String natGatewayId)
public String getNatGatewayId()
public ModifyNatGatewayAttributeShrinkRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyNatGatewayAttributeShrinkRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyNatGatewayAttributeShrinkRequest setRegionId(String regionId)
public String getRegionId()
public ModifyNatGatewayAttributeShrinkRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyNatGatewayAttributeShrinkRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.