@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() |
boolean |
equals(Object obj) |
String |
getAddress()
[EC2-VPC] 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()
Set to
vpc to allocate the address for use with instances in a VPC. |
Request<AllocateAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNetworkBorderGroup()
The location from which the IP address is advertised.
|
String |
getPublicIpv4Pool()
The ID of an address pool that you own.
|
int |
hashCode() |
void |
setAddress(String address)
[EC2-VPC] 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)
Set to
vpc to allocate the address for use with instances in a VPC. |
void |
setDomain(String domain)
Set to
vpc to allocate the address for use with instances in a VPC. |
void |
setNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
|
void |
setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
String |
toString()
Returns a string representation of this object.
|
AllocateAddressRequest |
withAddress(String address)
[EC2-VPC] 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)
Set to
vpc to allocate the address for use with instances in a VPC. |
AllocateAddressRequest |
withDomain(String domain)
Set to
vpc to allocate the address for use with instances in a VPC. |
AllocateAddressRequest |
withNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
|
AllocateAddressRequest |
withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setDomain(String domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainTypepublic String getDomain()
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainTypepublic AllocateAddressRequest withDomain(String domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainTypepublic void setDomain(DomainType domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainTypepublic AllocateAddressRequest withDomain(DomainType domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainTypepublic void setAddress(String address)
[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.
address - [EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.public String getAddress()
[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.
public AllocateAddressRequest withAddress(String address)
[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.
address - [EC2-VPC] 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)
The location from which the IP address is advertised. Use this parameter to limit the address to this location.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination error. For more information, see Error Codes.
networkBorderGroup - The location from which the IP address is advertised. Use this parameter to limit the address to this
location.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination error. For more information, see Error Codes.
public String getNetworkBorderGroup()
The location from which the IP address is advertised. Use this parameter to limit the address to this location.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination error. For more information, see Error Codes.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination error. For more information, see Error Codes.
public AllocateAddressRequest withNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised. Use this parameter to limit the address to this location.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination error. For more information, see Error Codes.
networkBorderGroup - The location from which the IP address is advertised. Use this parameter to limit the address to this
location.
A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination error. For more information, see Error Codes.
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 Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AllocateAddressRequest>public String toString()
toString in class ObjectObject.toString()public AllocateAddressRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.