public class AssignIpv6AddressesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
List<String> |
ipv6Address
The IPv6 addresses to assign to the ENI.
|
Integer |
ipv6AddressCount
The number of IPv6 addresses to randomly generate for the ENI.
|
List<String> |
ipv6Prefix
The IPv6 prefixes to assign to the ENI.
|
Integer |
ipv6PrefixCount
The number of IPv6 prefixes to assign to the ENI.
|
String |
networkInterfaceId
The ENI ID.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the ENI.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
AssignIpv6AddressesRequest() |
@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 the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.**** For more information, see How to ensure idempotence.
example:123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="Ipv6Address") public List<String> ipv6Address
The IPv6 addresses to assign to the ENI. Valid values of N: 1 to 10.
Example: Ipv6Address.1=2001:db8:1234:1a00::\\\\
example:You must specify
Ipv6Addresses.N
orIpv6AddressCount
, but not both.
2001:db8:1234:1a00::****
@NameInMap(value="Ipv6AddressCount") public Integer ipv6AddressCount
The number of IPv6 addresses to randomly generate for the ENI. Valid values: 1 to 10.
example:You must specify
Ipv6Addresses.N
orIpv6AddressCount
, but not both.
1
@NameInMap(value="Ipv6Prefix") public List<String> ipv6Prefix
The IPv6 prefixes to assign to the ENI. Valid values of N: 1 to 10.
To assign IPv6 prefixes to the ENI, you must specify Ipv6Prefix.N or Ipv6PrefixCount, but not both.
@NameInMap(value="Ipv6PrefixCount") public Integer ipv6PrefixCount
The number of IPv6 prefixes to assign to the ENI. Valid values: 1 to 10.
example:To assign IPv6 prefixes to the ENI, you must specify Ipv6Prefix.N or Ipv6PrefixCount, but not both.
hide
@NameInMap(value="NetworkInterfaceId") public String networkInterfaceId
The ENI ID.
This parameter is required.
example:eni-bp1iqejowblx6h8j****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the ENI. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static AssignIpv6AddressesRequest build(Map<String,?> map) throws Exception
Exception
public AssignIpv6AddressesRequest setClientToken(String clientToken)
public String getClientToken()
public AssignIpv6AddressesRequest setIpv6Address(List<String> ipv6Address)
public AssignIpv6AddressesRequest setIpv6AddressCount(Integer ipv6AddressCount)
public Integer getIpv6AddressCount()
public AssignIpv6AddressesRequest setIpv6Prefix(List<String> ipv6Prefix)
public AssignIpv6AddressesRequest setIpv6PrefixCount(Integer ipv6PrefixCount)
public Integer getIpv6PrefixCount()
public AssignIpv6AddressesRequest setNetworkInterfaceId(String networkInterfaceId)
public String getNetworkInterfaceId()
public AssignIpv6AddressesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AssignIpv6AddressesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AssignIpv6AddressesRequest setRegionId(String regionId)
public String getRegionId()
public AssignIpv6AddressesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AssignIpv6AddressesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.