public class DescribeInstancesHealthResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
See the example below for a sample response.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<SingleInstanceHealth> |
instanceHealthList
Contains the response body with information about the health of the
instance.
|
private java.lang.String |
nextToken
The next token.
|
private java.util.Date |
refreshedAt
The date and time the information was last refreshed.
|
Constructor and Description |
---|
DescribeInstancesHealthResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancesHealthResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<SingleInstanceHealth> |
getInstanceHealthList()
Contains the response body with information about the health of the
instance.
|
java.lang.String |
getNextToken()
The next token.
|
java.util.Date |
getRefreshedAt()
The date and time the information was last refreshed.
|
int |
hashCode() |
void |
setInstanceHealthList(java.util.Collection<SingleInstanceHealth> instanceHealthList)
Contains the response body with information about the health of the
instance.
|
void |
setNextToken(java.lang.String nextToken)
The next token.
|
void |
setRefreshedAt(java.util.Date refreshedAt)
The date and time the information was last refreshed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstancesHealthResult |
withInstanceHealthList(java.util.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(java.lang.String nextToken)
The next token.
|
DescribeInstancesHealthResult |
withRefreshedAt(java.util.Date refreshedAt)
The date and time the information was last refreshed.
|
private SdkInternalList<SingleInstanceHealth> instanceHealthList
Contains the response body with information about the health of the instance.
private java.util.Date refreshedAt
The date and time the information was last refreshed.
private java.lang.String nextToken
The next token.
public java.util.List<SingleInstanceHealth> getInstanceHealthList()
Contains the response body with information about the health of the instance.
public void setInstanceHealthList(java.util.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(java.util.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(java.util.Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt
- The date and time the information was last refreshed.public java.util.Date getRefreshedAt()
The date and time the information was last refreshed.
public DescribeInstancesHealthResult withRefreshedAt(java.util.Date refreshedAt)
The date and time the information was last refreshed.
refreshedAt
- The date and time the information was last refreshed.public void setNextToken(java.lang.String nextToken)
The next token.
nextToken
- The next token.public java.lang.String getNextToken()
The next token.
public DescribeInstancesHealthResult withNextToken(java.lang.String nextToken)
The next token.
nextToken
- The next token.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeInstancesHealthResult clone()
clone
in class java.lang.Object