public class AllocateAddressRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<AllocateAddressRequest>
AllocateAddress operation.
The AllocateAddress operation acquires an elastic IP address for use with your account.
| Constructor and Description |
|---|
AllocateAddressRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDomain()
Set to
vpc to allocate the address to your VPC. |
Request<AllocateAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setDomain(DomainType domain)
Set to
vpc to allocate the address to your VPC. |
void |
setDomain(String domain)
Set to
vpc to allocate the address to your VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AllocateAddressRequest |
withDomain(DomainType domain)
Set to
vpc to allocate the address to your VPC. |
AllocateAddressRequest |
withDomain(String domain)
Set to
vpc to allocate the address to your VPC. |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getDomain()
vpc to allocate the address to your VPC. By
default, will allocate to EC2.
Constraints:
Allowed Values: vpc, standard
vpc to allocate the address to your VPC. By
default, will allocate to EC2.DomainTypepublic void setDomain(String domain)
vpc to allocate the address to your VPC. By
default, will allocate to EC2.
Constraints:
Allowed Values: vpc, standard
domain - Set to vpc to allocate the address to your VPC. By
default, will allocate to EC2.DomainTypepublic AllocateAddressRequest withDomain(String domain)
vpc to allocate the address to your VPC. By
default, will allocate to EC2.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain - Set to vpc to allocate the address to your VPC. By
default, will allocate to EC2.DomainTypepublic void setDomain(DomainType domain)
vpc to allocate the address to your VPC. By
default, will allocate to EC2.
Constraints:
Allowed Values: vpc, standard
domain - Set to vpc to allocate the address to your VPC. By
default, will allocate to EC2.DomainTypepublic AllocateAddressRequest withDomain(DomainType domain)
vpc to allocate the address to your VPC. By
default, will allocate to EC2.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain - Set to vpc to allocate the address to your VPC. By
default, will allocate to EC2.DomainTypepublic Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AllocateAddressRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.