@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocateAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AllocateAddressRequest>
Contains the parameters for AllocateAddress.
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.
|
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.
|
int |
hashCode() |
void |
setAddress(String address)
[EC2-VPC] The Elastic IP address to recover.
|
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AllocateAddressRequest |
withAddress(String address)
[EC2-VPC] The Elastic IP address to recover.
|
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. |
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, 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.
address - [EC2-VPC] The Elastic IP address to recover.public String getAddress()
[EC2-VPC] The Elastic IP address to recover.
public AllocateAddressRequest withAddress(String address)
[EC2-VPC] The Elastic IP address to recover.
address - [EC2-VPC] The Elastic IP address to recover.public Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AllocateAddressRequest>public String toString()
toString in class ObjectObject.toString()public AllocateAddressRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.