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()
boolean
Contains the response body with information about the health of the instance.The next token.The date and time the information was last refreshed.int
hashCode()
void
setInstanceHealthList
(Collection<SingleInstanceHealth> instanceHealthList) Contains the response body with information about the health of the instance.void
setNextToken
(String nextToken) The next token.void
setRefreshedAt
(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
The next token.
- Parameters:
nextToken
- The next token.
-
getNextToken
The next token.
- Returns:
- The next token.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-