public static final class DescribeNatGatewaysResponseBody.NatGateway.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeNatGatewaysResponseBody.NatGateway.Builder autoPay(Boolean autoPay)
* **false**: no * **true**: yes
public DescribeNatGatewaysResponseBody.NatGateway.Builder businessStatus(String businessStatus)
* **Normal**: normal * **FinancialLocked**: locked due to overdue payments
public DescribeNatGatewaysResponseBody.NatGateway.Builder creationTime(String creationTime)
public DescribeNatGatewaysResponseBody.NatGateway.Builder deletionProtection(Boolean deletionProtection)
* **true**: yes * **false**: no
public DescribeNatGatewaysResponseBody.NatGateway.Builder description(String description)
public DescribeNatGatewaysResponseBody.NatGateway.Builder ecsMetricEnabled(Boolean ecsMetricEnabled)
* **true**: yes * **false**: no
public DescribeNatGatewaysResponseBody.NatGateway.Builder eipBindMode(String eipBindMode)
* **MULTI_BINDED**: multi-EIP-to-ENI mode * **NAT**: NAT mode, which is compatible with IPv4 addresses. > Note: If you use the NAT mode, 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 NAT gateway fails to be associated with the EIP. In NAT mode, you can associate a NAT gateway with up to 50 EIPs.
public DescribeNatGatewaysResponseBody.NatGateway.Builder enableSessionLog(String enableSessionLog)
public DescribeNatGatewaysResponseBody.NatGateway.Builder expiredTime(String expiredTime)
public DescribeNatGatewaysResponseBody.NatGateway.Builder forwardTableIds(DescribeNatGatewaysResponseBody.ForwardTableIds forwardTableIds)
public DescribeNatGatewaysResponseBody.NatGateway.Builder fullNatTableIds(DescribeNatGatewaysResponseBody.FullNatTableIds fullNatTableIds)
public DescribeNatGatewaysResponseBody.NatGateway.Builder icmpReplyEnabled(Boolean icmpReplyEnabled)
* **true**: yes * **false**: no
public DescribeNatGatewaysResponseBody.NatGateway.Builder instanceChargeType(String instanceChargeType)
public DescribeNatGatewaysResponseBody.NatGateway.Builder internetChargeType(String internetChargeType)
* **PayBySpec**: pay-by-specification * **PayByLcu**: pay-by-CU
public DescribeNatGatewaysResponseBody.NatGateway.Builder ipLists(DescribeNatGatewaysResponseBody.IpLists ipLists)
public DescribeNatGatewaysResponseBody.NatGateway.Builder name(String name)
public DescribeNatGatewaysResponseBody.NatGateway.Builder natGatewayId(String natGatewayId)
public DescribeNatGatewaysResponseBody.NatGateway.Builder natGatewayPrivateInfo(DescribeNatGatewaysResponseBody.NatGatewayPrivateInfo natGatewayPrivateInfo)
> If **NatType** is set to **Normal**, all parameters returned in this list are empty.
public DescribeNatGatewaysResponseBody.NatGateway.Builder natType(String natType)
public DescribeNatGatewaysResponseBody.NatGateway.Builder networkType(String networkType)
* **internet**: an Internet NAT gateway * **intranet**: a VPC NAT gateway
public DescribeNatGatewaysResponseBody.NatGateway.Builder privateLinkEnabled(Boolean privateLinkEnabled)
* **true**: yes * **false**: no
public DescribeNatGatewaysResponseBody.NatGateway.Builder privateLinkMode(String privateLinkMode)
* **FullNat**: the FULLNAT mode * **Geneve**: the GENEVE mode
public DescribeNatGatewaysResponseBody.NatGateway.Builder regionId(String regionId)
public DescribeNatGatewaysResponseBody.NatGateway.Builder resourceGroupId(String resourceGroupId)
public DescribeNatGatewaysResponseBody.NatGateway.Builder securityProtectionEnabled(Boolean securityProtectionEnabled)
* **false**: no * **true**: yes
public DescribeNatGatewaysResponseBody.NatGateway.Builder snatTableIds(DescribeNatGatewaysResponseBody.SnatTableIds snatTableIds)
public DescribeNatGatewaysResponseBody.NatGateway.Builder spec(String spec)
If **InternetChargeType** is set to **PayByLcu**, an empty value is returned.
public DescribeNatGatewaysResponseBody.NatGateway.Builder status(String status)
* **Creating**: After you send a request to create a NAT gateway, the system creates the NAT gateway in the background. The NAT gateway remains in the Creating state until the operation is completed. * **Available**: The NAT gateway remains in a stable state after the NAT gateway is created. * **Modifying**: After you send a request to modify a NAT gateway, the system modifies the NAT gateway in the background. The NAT gateway remains in the Modifying state until the operation is completed. * **Deleting**: After you send a request to delete a NAT gateway, the system deletes the NAT gateway in the background. The NAT gateway remains in the Deleting state until the operation is completed. * **Converting**: After you send a request to upgrade a standard NAT gateway to an enhanced NAT gateway, the system upgrades the NAT gateway in the background. The NAT gateway remains in the Converting state until the operation is completed.
public DescribeNatGatewaysResponseBody.NatGateway.Builder tags(DescribeNatGatewaysResponseBody.Tags tags)
public DescribeNatGatewaysResponseBody.NatGateway.Builder vpcId(String vpcId)
public DescribeNatGatewaysResponseBody.NatGateway build()
Copyright © 2024. All rights reserved.