Package com.amazonaws.services.ec2.model
Class AssociateAddressResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.AssociateAddressResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AssociateAddressResult extends Object implements Serializable, Cloneable
Contains the output of AssociateAddress.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssociateAddressResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateAddressResult
clone()
boolean
equals(Object obj)
String
getAssociationId()
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.int
hashCode()
void
setAssociationId(String associationId)
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.AssociateAddressResult
withAssociationId(String associationId)
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
-
-
-
Method Detail
-
setAssociationId
public void setAssociationId(String associationId)
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
- Parameters:
associationId
- [EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
-
getAssociationId
public String getAssociationId()
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
- Returns:
- [EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
-
withAssociationId
public AssociateAddressResult withAssociationId(String associationId)
[EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.
- Parameters:
associationId
- [EC2-VPC] The ID that represents the association of the Elastic IP address with an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssociateAddressResult clone()
-
-