@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociateAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DisassociateAddressRequest>
Contains the parameters for DisassociateAddress.
NOOP
Constructor and Description |
---|
DisassociateAddressRequest()
Default constructor for DisassociateAddressRequest object.
|
DisassociateAddressRequest(String publicIp)
Constructs a new DisassociateAddressRequest object.
|
Modifier and Type | Method and Description |
---|---|
DisassociateAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationId()
[EC2-VPC] The association ID.
|
Request<DisassociateAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPublicIp()
[EC2-Classic] The Elastic IP address.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
[EC2-VPC] The association 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.
|
DisassociateAddressRequest |
withAssociationId(String associationId)
[EC2-VPC] The association ID.
|
DisassociateAddressRequest |
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, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DisassociateAddressRequest()
public DisassociateAddressRequest(String publicIp)
publicIp
- [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public void setAssociationId(String associationId)
[EC2-VPC] The association ID. Required for EC2-VPC.
associationId
- [EC2-VPC] The association ID. Required for EC2-VPC.public String getAssociationId()
[EC2-VPC] The association ID. Required for EC2-VPC.
public DisassociateAddressRequest withAssociationId(String associationId)
[EC2-VPC] The association ID. Required for EC2-VPC.
associationId
- [EC2-VPC] The association 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 DisassociateAddressRequest 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<DisassociateAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DisassociateAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public DisassociateAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.