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 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(SingleInstanceHealth... instanceHealthList)
Contains the response body with information about the health of the instance.DescribeInstancesHealthResult
withInstanceHealthList(Collection<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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeInstancesHealthResult clone()
-
-