public static final class UnassociateEipAddressRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UnassociateEipAddressRequest.Builder |
allocationId(String allocationId)
The ID of the EIP that you want to disassociate.
|
UnassociateEipAddressRequest |
build() |
UnassociateEipAddressRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
UnassociateEipAddressRequest.Builder |
force(Boolean force)
Specifies whether to disassociate the EIP from a NAT gateway if a DNAT or SNAT entry is added to the NAT gateway.
|
UnassociateEipAddressRequest.Builder |
instanceId(String instanceId)
The ID of the instance from which you want to disassociate the EIP.
|
UnassociateEipAddressRequest.Builder |
instanceType(String instanceType)
The type of instance from which you want to disassociate the EIP.
|
UnassociateEipAddressRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
UnassociateEipAddressRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
UnassociateEipAddressRequest.Builder |
privateIpAddress(String privateIpAddress)
The private IP address of the ECS instance or the secondary ENI from which you want to disassociate the EIP.
|
UnassociateEipAddressRequest.Builder |
regionId(String regionId)
The ID of the region to which the EIP belongs.
|
UnassociateEipAddressRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
UnassociateEipAddressRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public UnassociateEipAddressRequest.Builder allocationId(String allocationId)
public UnassociateEipAddressRequest.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 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 UnassociateEipAddressRequest.Builder force(Boolean force)
* **false** (default) * **true**
public UnassociateEipAddressRequest.Builder instanceId(String instanceId)
public UnassociateEipAddressRequest.Builder instanceType(String instanceType)
* **EcsInstance** (default): an Elastic Compute Service (ECS) instance in a virtual private cloud (VPC) * **SlbInstance**: a Server Load Balancer (SLB) instance in a VPC * **NetworkInterface**: a secondary elastic network interface (ENI) in a VPC * **Nat**: a NAT gateway * **HaVip**: a high-availability virtual IP address (HAVIP)
public UnassociateEipAddressRequest.Builder ownerAccount(String ownerAccount)
public UnassociateEipAddressRequest.Builder ownerId(Long ownerId)
public UnassociateEipAddressRequest.Builder privateIpAddress(String privateIpAddress)
public UnassociateEipAddressRequest.Builder regionId(String regionId)
public UnassociateEipAddressRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UnassociateEipAddressRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UnassociateEipAddressRequest build()
Copyright © 2024. All rights reserved.