public class AllocateAddressRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<AllocateAddressRequest>
Contains the parameters for AllocateAddress.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domain
Set to
vpc to allocate the address for use with instances in
a VPC. |
NOOP
Constructor and Description |
---|
AllocateAddressRequest() |
Modifier and Type | Method and Description |
---|---|
AllocateAddressRequest |
clone()
Creates a shallow clone of this request.
|
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. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
public void setDomain(java.lang.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 java.lang.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(java.lang.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 Request<AllocateAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AllocateAddressRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AllocateAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()