Class AllocateAddressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.AllocateAddressRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<AllocateAddressRequest>,Serializable,Cloneable
public class AllocateAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AllocateAddressRequest>
Contains the parameters for AllocateAddress.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AllocateAddressRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocateAddressRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDomain()Set tovpcto allocate the address for use with instances in a VPC.Request<AllocateAddressRequest>getDryRunRequest()This method is intended for internal use only.inthashCode()voidsetDomain(DomainType domain)Set tovpcto allocate the address for use with instances in a VPC.voidsetDomain(String domain)Set tovpcto allocate the address for use with instances in a VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.AllocateAddressRequestwithDomain(DomainType domain)Set tovpcto allocate the address for use with instances in a VPC.AllocateAddressRequestwithDomain(String domain)Set tovpcto allocate the address for use with instances in a VPC.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setDomain
public void setDomain(String domain)
Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Parameters:
domain- Set tovpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- See Also:
DomainType
-
getDomain
public String getDomain()
Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Returns:
- Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- See Also:
DomainType
-
withDomain
public AllocateAddressRequest withDomain(String domain)
Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Parameters:
domain- Set tovpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainType
-
setDomain
public void setDomain(DomainType domain)
Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Parameters:
domain- Set tovpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- See Also:
DomainType
-
withDomain
public AllocateAddressRequest withDomain(DomainType domain)
Set to
vpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Parameters:
domain- Set tovpcto allocate the address for use with instances in a VPC.Default: The address is for use with instances in EC2-Classic.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainType
-
getDryRunRequest
public Request<AllocateAddressRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<AllocateAddressRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AllocateAddressRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-