public static final class UnassociateHaVipRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UnassociateHaVipRequest |
build() |
UnassociateHaVipRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
UnassociateHaVipRequest.Builder |
force(String force)
Specifies whether to forcefully disassociate the HAVIP from the ECS instance or ENI.
|
UnassociateHaVipRequest.Builder |
haVipId(String haVipId)
The ID of the HAVIP that you want to disassociate.
|
UnassociateHaVipRequest.Builder |
instanceId(String instanceId)
The ID of the ECS instance or ENI from which you want to disassociate the HAVIP.
|
UnassociateHaVipRequest.Builder |
instanceType(String instanceType)
The type of the instance from which you want to disassociate the HAVIP.
|
UnassociateHaVipRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
UnassociateHaVipRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
UnassociateHaVipRequest.Builder |
regionId(String regionId)
The region ID of the HAVIP.
|
UnassociateHaVipRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
UnassociateHaVipRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public UnassociateHaVipRequest.Builder clientToken(String clientToken)
public UnassociateHaVipRequest.Builder force(String force)
* **True** * **False** (default) > If you set the value to **False**, you cannot disassociate the HAVIP from the primary instance.
public UnassociateHaVipRequest.Builder haVipId(String haVipId)
public UnassociateHaVipRequest.Builder instanceId(String instanceId)
public UnassociateHaVipRequest.Builder instanceType(String instanceType)
* **EcsInstance**: an ECS instance * **NetworkInterface**: an ENI > If you want to disassociate the HAVIP from an ENI, this parameter is required.
public UnassociateHaVipRequest.Builder ownerAccount(String ownerAccount)
public UnassociateHaVipRequest.Builder ownerId(Long ownerId)
public UnassociateHaVipRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public UnassociateHaVipRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UnassociateHaVipRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UnassociateHaVipRequest build()
Copyright © 2024. All rights reserved.