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:
  • Constructor Details

    • AssociateAddressResult

      public AssociateAddressResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AssociateAddressResult clone()
      Overrides:
      clone in class Object