public class AssociateEipAddressBatchRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
bindedInstanceId
The ID of the instance with which you want to associate the EIPs.
|
String |
bindedInstanceType
The type of the instance with which you want to associate the EIPs.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
List<String> |
instanceIds
The EIPs to be associated with the instance.
|
String |
mode
The association mode.
|
Long |
ownerId |
String |
regionId
The ID of the region to which the EIPs belong.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
AssociateEipAddressBatchRequest() |
限定符和类型 | 方法和说明 |
---|---|
static AssociateEipAddressBatchRequest |
build(Map<String,?> map) |
String |
getBindedInstanceId() |
String |
getBindedInstanceType() |
String |
getClientToken() |
List<String> |
getInstanceIds() |
String |
getMode() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
AssociateEipAddressBatchRequest |
setBindedInstanceId(String bindedInstanceId) |
AssociateEipAddressBatchRequest |
setBindedInstanceType(String bindedInstanceType) |
AssociateEipAddressBatchRequest |
setClientToken(String clientToken) |
AssociateEipAddressBatchRequest |
setInstanceIds(List<String> instanceIds) |
AssociateEipAddressBatchRequest |
setMode(String mode) |
AssociateEipAddressBatchRequest |
setOwnerId(Long ownerId) |
AssociateEipAddressBatchRequest |
setRegionId(String regionId) |
AssociateEipAddressBatchRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
AssociateEipAddressBatchRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="BindedInstanceId") public String bindedInstanceId
The ID of the instance with which you want to associate the EIPs.
The instance can be a NAT gateway or a secondary ENI.
This parameter is required.
example:ngw-hp3akk9irtd69jad****
@NameInMap(value="BindedInstanceType") public String bindedInstanceType
The type of the instance with which you want to associate the EIPs. Valid values:
This parameter is required.
example:Nat
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
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.
example: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.
02fb3da4-130e-11e9-8e44-0016e04115b
@NameInMap(value="InstanceIds") public List<String> instanceIds
The EIPs to be associated with the instance.
You must enter at least one EIP. You can enter up to 50 EIPs.
This parameter is required.
@NameInMap(value="Mode") public String mode
The association mode. Set the value to MULTI_BINDED, which specifies the Multi-EIP-to-ENI mode.
This parameter is required only when BindedInstanceType is set to NetworkInterface.
example:MULTI_BINDED
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the EIPs belong. You can call the DescribeRegions operation to query the region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static AssociateEipAddressBatchRequest build(Map<String,?> map) throws Exception
Exception
public AssociateEipAddressBatchRequest setBindedInstanceId(String bindedInstanceId)
public String getBindedInstanceId()
public AssociateEipAddressBatchRequest setBindedInstanceType(String bindedInstanceType)
public String getBindedInstanceType()
public AssociateEipAddressBatchRequest setClientToken(String clientToken)
public String getClientToken()
public AssociateEipAddressBatchRequest setInstanceIds(List<String> instanceIds)
public AssociateEipAddressBatchRequest setMode(String mode)
public String getMode()
public AssociateEipAddressBatchRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AssociateEipAddressBatchRequest setRegionId(String regionId)
public String getRegionId()
public AssociateEipAddressBatchRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AssociateEipAddressBatchRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.