public class DescribeInstancesHealthResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
See the example below for a sample response.
| Constructor and Description |
|---|
DescribeInstancesHealthResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeInstancesHealthResult |
clone() |
boolean |
equals(Object obj) |
List<SingleInstanceHealth> |
getInstanceHealthList()
Contains the response body with information about the health of the instance.
|
String |
getNextToken()
The next token.
|
Date |
getRefreshedAt()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstancesHealthResult |
withInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)
Contains the response body with information about the health of the instance.
|
DescribeInstancesHealthResult |
withInstanceHealthList(SingleInstanceHealth... instanceHealthList)
Contains the response body with information about the health of the instance.
|
DescribeInstancesHealthResult |
withNextToken(String nextToken)
The next token.
|
DescribeInstancesHealthResult |
withRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SingleInstanceHealth> getInstanceHealthList()
Contains the response body with information about the health of the instance.
public void setInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)
Contains the response body with information about the health of the instance.
instanceHealthList - Contains the response body with information about the health of the instance.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.
instanceHealthList - Contains the response body with information about the health of the instance.public DescribeInstancesHealthResult withInstanceHealthList(Collection<SingleInstanceHealth> instanceHealthList)
Contains the response body with information about the health of the instance.
instanceHealthList - Contains the response body with information about the health of the instance.public void setRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt - The date and time the information was last refreshed.public Date getRefreshedAt()
The date and time the information was last refreshed.
public DescribeInstancesHealthResult withRefreshedAt(Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt - The date and time the information was last refreshed.public void setNextToken(String nextToken)
The next token.
nextToken - The next token.public String getNextToken()
The next token.
public DescribeInstancesHealthResult withNextToken(String nextToken)
The next token.
nextToken - The next token.public String toString()
toString in class ObjectObject.toString()public DescribeInstancesHealthResult clone()
Copyright © 2016. All rights reserved.