|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AllocateAddressRequest
public class AllocateAddressRequest
Container for the parameters to the AllocateAddress operation.
Acquires an Elastic IP address.
An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.allocateAddress(AllocateAddressRequest),
Serialized Form| Constructor Summary | |
|---|---|
AllocateAddressRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.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 |
setDomain(DomainType domain)
Set to vpc to allocate the address for use with instances
in a VPC. |
void |
setDomain(java.lang.String domain)
Set to vpc to allocate the address for use with instances
in a VPC. |
java.lang.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 for use with instances
in a VPC. |
AllocateAddressRequest |
withDomain(java.lang.String domain)
Set to vpc to allocate the address for use with instances
in a VPC. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllocateAddressRequest()
| Method Detail |
|---|
public java.lang.String getDomain()
vpc to allocate the address for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
Constraints:
Allowed Values: vpc, standard
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(java.lang.String domain)
vpc to allocate the address for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
Constraints:
Allowed Values: vpc, standard
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(java.lang.String domain)
vpc to allocate the address for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
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 for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
DomainTypepublic void setDomain(DomainType domain)
vpc to allocate the address for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
Constraints:
Allowed Values: vpc, standard
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)
vpc to allocate the address for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
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 for use with instances
in a VPC. Default: The address is for use with instances in EC2-Classic.
DomainTypepublic Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AllocateAddressRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||