public static final class AssociateEipAddressBatchRequest.Builder extends Object
public AssociateEipAddressBatchRequest.Builder bindedInstanceId(String bindedInstanceId)
The instance can be a NAT gateway or a secondary ENI.
public AssociateEipAddressBatchRequest.Builder bindedInstanceType(String bindedInstanceType)
* **Nat**: NAT gateway * **NetworkInterface**: secondary ENI
public AssociateEipAddressBatchRequest.Builder clientToken(String clientToken)
You can use the client to generate a 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 AssociateEipAddressBatchRequest.Builder instanceIds(List<String> instanceIds)
You must enter at least one EIP. You can enter up to 50 EIPs.
public AssociateEipAddressBatchRequest.Builder mode(String mode)
This parameter is required only when **BindedInstanceType** is set to **NetworkInterface**.
public AssociateEipAddressBatchRequest.Builder ownerId(Long ownerId)
public AssociateEipAddressBatchRequest.Builder regionId(String regionId)
public AssociateEipAddressBatchRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AssociateEipAddressBatchRequest.Builder resourceOwnerId(Long resourceOwnerId)
public AssociateEipAddressBatchRequest build()
Copyright © 2024. All rights reserved.