@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocateAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AllocateAddressRequest>
NOOP
Constructor and Description |
---|
AllocateAddressRequest() |
Modifier and Type | Method and Description |
---|---|
AllocateAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddress()
The Elastic IP address to recover or an IPv4 address from an address pool.
|
String |
getCustomerOwnedIpv4Pool()
The ID of a customer-owned address pool.
|
String |
getDomain()
The network (
vpc ). |
Request<AllocateAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNetworkBorderGroup()
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
String |
getPublicIpv4Pool()
The ID of an address pool that you own.
|
List<TagSpecification> |
getTagSpecifications()
The tags to assign to the Elastic IP address.
|
int |
hashCode() |
void |
setAddress(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
|
void |
setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool.
|
void |
setDomain(DomainType domain)
The network (
vpc ). |
void |
setDomain(String domain)
The network (
vpc ). |
void |
setNetworkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
void |
setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
|
String |
toString()
Returns a string representation of this object.
|
AllocateAddressRequest |
withAddress(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
|
AllocateAddressRequest |
withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool.
|
AllocateAddressRequest |
withDomain(DomainType domain)
The network (
vpc ). |
AllocateAddressRequest |
withDomain(String domain)
The network (
vpc ). |
AllocateAddressRequest |
withNetworkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
AllocateAddressRequest |
withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
AllocateAddressRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
|
AllocateAddressRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Elastic IP address.
|
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 setDomain(String domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public String getDomain()
The network (vpc
).
vpc
).DomainType
public AllocateAddressRequest withDomain(String domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public void setDomain(DomainType domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public AllocateAddressRequest withDomain(DomainType domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public void setAddress(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
address
- The Elastic IP address to recover or an IPv4 address from an address pool.public String getAddress()
The Elastic IP address to recover or an IPv4 address from an address pool.
public AllocateAddressRequest withAddress(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
address
- The Elastic IP address to recover or an IPv4 address from an address pool.public void setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address
pool. To specify a specific address from the address pool, use the Address
parameter instead.
publicIpv4Pool
- The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the
address pool. To specify a specific address from the address pool, use the Address
parameter
instead.public String getPublicIpv4Pool()
The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address
pool. To specify a specific address from the address pool, use the Address
parameter instead.
Address
parameter
instead.public AllocateAddressRequest withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address
pool. To specify a specific address from the address pool, use the Address
parameter instead.
publicIpv4Pool
- The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the
address pool. To specify a specific address from the address pool, use the Address
parameter
instead.public void setNetworkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
networkBorderGroup
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot
move between network border groups.public String getNetworkBorderGroup()
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
public AllocateAddressRequest withNetworkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
networkBorderGroup
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot
move between network border groups.public void setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
customerOwnedIpv4Pool
- The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the
address pool. Alternatively, specify a specific address from the address pool.public String getCustomerOwnedIpv4Pool()
The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
public AllocateAddressRequest withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
customerOwnedIpv4Pool
- The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the
address pool. Alternatively, specify a specific address from the address pool.public List<TagSpecification> getTagSpecifications()
The tags to assign to the Elastic IP address.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
tagSpecifications
- The tags to assign to the Elastic IP address.public AllocateAddressRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Elastic IP address.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to assign to the Elastic IP address.public AllocateAddressRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
tagSpecifications
- The tags to assign to the Elastic IP address.public Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AllocateAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public AllocateAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()