@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReleaseAddressRequest>
Contains the parameters for ReleaseAddress.
NOOP| Constructor and Description |
|---|
ReleaseAddressRequest()
Default constructor for ReleaseAddressRequest object.
|
ReleaseAddressRequest(String publicIp)
Constructs a new ReleaseAddressRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ReleaseAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAllocationId()
[EC2-VPC] The allocation ID.
|
Request<ReleaseAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPublicIp()
[EC2-Classic] The Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
void |
setPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReleaseAddressRequest |
withAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
ReleaseAddressRequest |
withPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ReleaseAddressRequest()
public ReleaseAddressRequest(String publicIp)
publicIp - [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public void setAllocationId(String allocationId)
[EC2-VPC] The allocation ID. Required for EC2-VPC.
allocationId - [EC2-VPC] The allocation ID. Required for EC2-VPC.public String getAllocationId()
[EC2-VPC] The allocation ID. Required for EC2-VPC.
public ReleaseAddressRequest withAllocationId(String allocationId)
[EC2-VPC] The allocation ID. Required for EC2-VPC.
allocationId - [EC2-VPC] The allocation ID. Required for EC2-VPC.public void setPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
publicIp - [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public String getPublicIp()
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
public ReleaseAddressRequest withPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
publicIp - [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public Request<ReleaseAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ReleaseAddressRequest>public String toString()
toString in class ObjectObject.toString()public ReleaseAddressRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.