@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssignIpv6AddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssignIpv6AddressesRequest>
NOOP
Constructor and Description |
---|
AssignIpv6AddressesRequest() |
Modifier and Type | Method and Description |
---|---|
AssignIpv6AddressesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<AssignIpv6AddressesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getIpv6AddressCount()
The number of additional IPv6 addresses to assign to the network interface.
|
List<String> |
getIpv6Addresses()
The IPv6 addresses to be assigned to the network interface.
|
Integer |
getIpv6PrefixCount()
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.
|
List<String> |
getIpv6Prefixes()
One or more IPv6 prefixes assigned to the network interface.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
int |
hashCode() |
void |
setIpv6AddressCount(Integer ipv6AddressCount)
The number of additional IPv6 addresses to assign to the network interface.
|
void |
setIpv6Addresses(Collection<String> ipv6Addresses)
The IPv6 addresses to be assigned to the network interface.
|
void |
setIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.
|
void |
setIpv6Prefixes(Collection<String> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
String |
toString()
Returns a string representation of this object.
|
AssignIpv6AddressesRequest |
withIpv6AddressCount(Integer ipv6AddressCount)
The number of additional IPv6 addresses to assign to the network interface.
|
AssignIpv6AddressesRequest |
withIpv6Addresses(Collection<String> ipv6Addresses)
The IPv6 addresses to be assigned to the network interface.
|
AssignIpv6AddressesRequest |
withIpv6Addresses(String... ipv6Addresses)
The IPv6 addresses to be assigned to the network interface.
|
AssignIpv6AddressesRequest |
withIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.
|
AssignIpv6AddressesRequest |
withIpv6Prefixes(Collection<String> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
AssignIpv6AddressesRequest |
withIpv6Prefixes(String... ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
AssignIpv6AddressesRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIpv6AddressCount(Integer ipv6AddressCount)
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
ipv6AddressCount
- The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6
addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network
interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this
option if specifying specific IPv6 addresses.public Integer getIpv6AddressCount()
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
public AssignIpv6AddressesRequest withIpv6AddressCount(Integer ipv6AddressCount)
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
ipv6AddressCount
- The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6
addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network
interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this
option if specifying specific IPv6 addresses.public List<String> getIpv6Addresses()
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
public void setIpv6Addresses(Collection<String> ipv6Addresses)
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
ipv6Addresses
- The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying
a number of IPv6 addresses.public AssignIpv6AddressesRequest withIpv6Addresses(String... ipv6Addresses)
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6Addresses(java.util.Collection)
or withIpv6Addresses(java.util.Collection)
if you want
to override the existing values.
ipv6Addresses
- The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying
a number of IPv6 addresses.public AssignIpv6AddressesRequest withIpv6Addresses(Collection<String> ipv6Addresses)
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
ipv6Addresses
- The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying
a number of IPv6 addresses.public void setIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot
use this option if you use the Ipv6Prefixes
option.
ipv6PrefixCount
- The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You
cannot use this option if you use the Ipv6Prefixes
option.public Integer getIpv6PrefixCount()
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot
use this option if you use the Ipv6Prefixes
option.
Ipv6Prefixes
option.public AssignIpv6AddressesRequest withIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot
use this option if you use the Ipv6Prefixes
option.
ipv6PrefixCount
- The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You
cannot use this option if you use the Ipv6Prefixes
option.public List<String> getIpv6Prefixes()
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
Ipv6PrefixCount
option.public void setIpv6Prefixes(Collection<String> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
ipv6Prefixes
- One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.public AssignIpv6AddressesRequest withIpv6Prefixes(String... ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6Prefixes(java.util.Collection)
or withIpv6Prefixes(java.util.Collection)
if you want to
override the existing values.
ipv6Prefixes
- One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.public AssignIpv6AddressesRequest withIpv6Prefixes(Collection<String> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
ipv6Prefixes
- One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public AssignIpv6AddressesRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public Request<AssignIpv6AddressesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssignIpv6AddressesRequest>
public String toString()
toString
in class Object
Object.toString()
public AssignIpv6AddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()