Class DescribeInstanceHealthResult
- java.lang.Object
-
- com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeInstanceHealthResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeInstanceHealthResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeInstanceHealthResultclone()booleanequals(Object obj)List<InstanceState>getInstanceStates()Information about the health of the instances.inthashCode()voidsetInstanceStates(Collection<InstanceState> instanceStates)Information about the health of the instances.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeInstanceHealthResultwithInstanceStates(InstanceState... instanceStates)Information about the health of the instances.DescribeInstanceHealthResultwithInstanceStates(Collection<InstanceState> instanceStates)Information about the health of the instances.
-
-
-
Method Detail
-
getInstanceStates
public List<InstanceState> getInstanceStates()
Information about the health of the instances.
- Returns:
- Information about the health of the instances.
-
setInstanceStates
public void setInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
- Parameters:
instanceStates- Information about the health of the instances.
-
withInstanceStates
public DescribeInstanceHealthResult withInstanceStates(InstanceState... instanceStates)
Information about the health of the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStates(java.util.Collection)orwithInstanceStates(java.util.Collection)if you want to override the existing values.- Parameters:
instanceStates- Information about the health of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceStates
public DescribeInstanceHealthResult withInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
- Parameters:
instanceStates- Information about the health of the instances.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeInstanceHealthResult clone()
-
-