@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 |
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 |
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 |
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 |
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 |
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 |
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 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.