Class DescribeInstancesHealthResult

java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.DescribeInstancesHealthResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeInstancesHealthResult extends Object implements Serializable, Cloneable

See the example below for a sample response.

See Also:
  • Constructor Details

    • DescribeInstancesHealthResult

      public DescribeInstancesHealthResult()
  • Method Details

    • getInstanceHealthList

      public List<SingleInstanceHealth> getInstanceHealthList()

      Contains the response body with information about the health of the instance.

      Returns:
      Contains the response body with information about the health of the instance.
    • setInstanceHealthList

      public void setInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)

      Contains the response body with information about the health of the instance.

      Parameters:
      instanceHealthList - Contains the response body with information about the health of the instance.
    • withInstanceHealthList

      public DescribeInstancesHealthResult withInstanceHealthList(SingleInstanceHealth... instanceHealthList)

      Contains the response body with information about the health of the instance.

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

      Parameters:
      instanceHealthList - Contains the response body with information about the health of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withInstanceHealthList

      public DescribeInstancesHealthResult withInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)

      Contains the response body with information about the health of the instance.

      Parameters:
      instanceHealthList - Contains the response body with information about the health of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRefreshedAt

      public void setRefreshedAt(Date refreshedAt)

      The date and time the information was last refreshed.

      Parameters:
      refreshedAt - The date and time the information was last refreshed.
    • getRefreshedAt

      public Date getRefreshedAt()

      The date and time the information was last refreshed.

      Returns:
      The date and time the information was last refreshed.
    • withRefreshedAt

      public DescribeInstancesHealthResult withRefreshedAt(Date refreshedAt)

      The date and time the information was last refreshed.

      Parameters:
      refreshedAt - The date and time the information was last refreshed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The next token.

      Parameters:
      nextToken - The next token.
    • getNextToken

      public String getNextToken()

      The next token.

      Returns:
      The next token.
    • withNextToken

      public DescribeInstancesHealthResult withNextToken(String nextToken)

      The next token.

      Parameters:
      nextToken - The next token.
      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

      Overrides:
      clone in class Object