@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()
[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, 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)
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.
DomainType
public 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.
DomainType
public 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.
DomainType
public 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.
DomainType
public 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.
DomainType
public 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.
Use DescribeVpcs 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.
Use DescribeVpcs 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.
Use DescribeVpcs 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.
Use DescribeVpcs 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.
Use DescribeVpcs 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.
Use DescribeVpcs 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 Object
Object.toString()
public AllocateAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.