Class DescribeInstancesHealthResult
- All Implemented Interfaces:
Serializable, Cloneable
See the example below for a sample response.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanContains the response body with information about the health of the instance.The next token.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.toString()Returns a string representation of this object; useful for testing and debugging.withInstanceHealthList(SingleInstanceHealth... instanceHealthList) Contains the response body with information about the health of the instance.withInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList) Contains the response body with information about the health of the instance.withNextToken(String nextToken) The next token.withRefreshedAt(Date refreshedAt) The date and time the information was last refreshed.
-
Constructor Details
-
DescribeInstancesHealthResult
public DescribeInstancesHealthResult()
-
-
Method Details
-
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
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
The date and time the information was last refreshed.
- Parameters:
refreshedAt- The date and time the information was last refreshed.
-
getRefreshedAt
The date and time the information was last refreshed.
- Returns:
- The date and time the information was last refreshed.
-
withRefreshedAt
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
-
getNextToken
-
withNextToken
The next token.
- Parameters:
nextToken- The next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-