|
|||||||
| 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.
The AllocateAddress operation acquires an elastic IP address for use with your account.
AmazonEC2.allocateAddress(AllocateAddressRequest)| Constructor Summary | |
|---|---|
AllocateAddressRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDomain()
Set to vpc to allocate the address to your VPC. |
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. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllocateAddressRequest()
| Method Detail |
|---|
public 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 String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||