Class DescribeElasticIpsResult

java.lang.Object
com.amazonaws.services.opsworks.model.DescribeElasticIpsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeElasticIpsResult extends Object implements Serializable, Cloneable

Contains the response to a DescribeElasticIps request.

See Also:
  • Constructor Details

    • DescribeElasticIpsResult

      public DescribeElasticIpsResult()
  • Method Details

    • getElasticIps

      public List<ElasticIp> getElasticIps()

      An ElasticIps object that describes the specified Elastic IP addresses.

      Returns:
      An ElasticIps object that describes the specified Elastic IP addresses.
    • setElasticIps

      public void setElasticIps(Collection<ElasticIp> elasticIps)

      An ElasticIps object that describes the specified Elastic IP addresses.

      Parameters:
      elasticIps - An ElasticIps object that describes the specified Elastic IP addresses.
    • withElasticIps

      public DescribeElasticIpsResult withElasticIps(ElasticIp... elasticIps)

      An ElasticIps object that describes the specified Elastic IP addresses.

      NOTE: This method appends the values to the existing list (if any). Use setElasticIps(java.util.Collection) or withElasticIps(java.util.Collection) if you want to override the existing values.

      Parameters:
      elasticIps - An ElasticIps object that describes the specified Elastic IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withElasticIps

      public DescribeElasticIpsResult withElasticIps(Collection<ElasticIp> elasticIps)

      An ElasticIps object that describes the specified Elastic IP addresses.

      Parameters:
      elasticIps - An ElasticIps object that describes the specified Elastic IP addresses.
      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 DescribeElasticIpsResult clone()
      Overrides:
      clone in class Object