public class DisassociateAddressRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DisassociateAddressRequest>
DisassociateAddress operation
.
The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
Constructor and Description |
---|
DisassociateAddressRequest()
Default constructor for a new DisassociateAddressRequest object.
|
DisassociateAddressRequest(String publicIp)
Constructs a new DisassociateAddressRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAssociationId()
Association ID corresponding to the VPC elastic IP address you want to
disassociate.
|
Request<DisassociateAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPublicIp()
The elastic IP address that you are disassociating from the instance.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
Association ID corresponding to the VPC elastic IP address you want to
disassociate.
|
void |
setPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisassociateAddressRequest |
withAssociationId(String associationId)
Association ID corresponding to the VPC elastic IP address you want to
disassociate.
|
DisassociateAddressRequest |
withPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DisassociateAddressRequest()
public DisassociateAddressRequest(String publicIp)
publicIp
- The elastic IP address that you are disassociating
from the instance.public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- The elastic IP address that you are disassociating from the instance.public DisassociateAddressRequest withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The elastic IP address that you are disassociating from the instance.public String getAssociationId()
public void setAssociationId(String associationId)
associationId
- Association ID corresponding to the VPC elastic IP address you want to
disassociate.public DisassociateAddressRequest withAssociationId(String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- Association ID corresponding to the VPC elastic IP address you want to
disassociate.public Request<DisassociateAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DisassociateAddressRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.