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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeInstancesHealthResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeInstancesHealthResultclone()booleanequals(Object obj)List<SingleInstanceHealth>getInstanceHealthList()Contains the response body with information about the health of the instance.StringgetNextToken()The next token.DategetRefreshedAt()The date and time the information was last refreshed.inthashCode()voidsetInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)Contains the response body with information about the health of the instance.voidsetNextToken(String nextToken)The next token.voidsetRefreshedAt(Date refreshedAt)The date and time the information was last refreshed.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeInstancesHealthResultwithInstanceHealthList(SingleInstanceHealth... instanceHealthList)Contains the response body with information about the health of the instance.DescribeInstancesHealthResultwithInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)Contains the response body with information about the health of the instance.DescribeInstancesHealthResultwithNextToken(String nextToken)The next token.DescribeInstancesHealthResultwithRefreshedAt(Date refreshedAt)The date and time the information was last refreshed.
-
-
-
Method Detail
-
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)orwithInstanceHealthList(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeInstancesHealthResult clone()
-
-