public static final class ModifyNatGatewaySpecRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyNatGatewaySpecRequest.Builder |
autoPay(Boolean autoPay)
Specifies whether to automatically complete the payment.
|
ModifyNatGatewaySpecRequest |
build() |
ModifyNatGatewaySpecRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyNatGatewaySpecRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the Internet NAT gateway that you want to upgrade.
|
ModifyNatGatewaySpecRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyNatGatewaySpecRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyNatGatewaySpecRequest.Builder |
regionId(String regionId)
The ID of the region where the Internet NAT gateway is deployed.
|
ModifyNatGatewaySpecRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyNatGatewaySpecRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ModifyNatGatewaySpecRequest.Builder |
spec(String spec)
The size of the Internet NAT gateway.
|
public ModifyNatGatewaySpecRequest.Builder autoPay(Boolean autoPay)
* **true**: enables automatic payment. Payments are automatically completed. * **false** (default): disables automatic payment. If you select this option, you must go to the Order Center to complete the payment after an order is generated.
public ModifyNatGatewaySpecRequest.Builder clientToken(String clientToken)
You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.
public ModifyNatGatewaySpecRequest.Builder natGatewayId(String natGatewayId)
public ModifyNatGatewaySpecRequest.Builder ownerAccount(String ownerAccount)
public ModifyNatGatewaySpecRequest.Builder ownerId(Long ownerId)
public ModifyNatGatewaySpecRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyNatGatewaySpecRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNatGatewaySpecRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNatGatewaySpecRequest.Builder spec(String spec)
* **Small**: small * **Middle**: medium * **Large**: large
public ModifyNatGatewaySpecRequest build()
Copyright © 2024. All rights reserved.