public class DescribeInstanceHealthResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceState> |
instanceStates
Information about the health of the instances.
|
Constructor and Description |
---|
DescribeInstanceHealthResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceHealthResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceState> |
getInstanceStates()
Information about the health of the instances.
|
int |
hashCode() |
void |
setInstanceStates(java.util.Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceHealthResult |
withInstanceStates(java.util.Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
DescribeInstanceHealthResult |
withInstanceStates(InstanceState... instanceStates)
Information about the health of the instances.
|
private SdkInternalList<InstanceState> instanceStates
Information about the health of the instances.
public java.util.List<InstanceState> getInstanceStates()
Information about the health of the instances.
public void setInstanceStates(java.util.Collection<InstanceState> instanceStates)
Information about the health of the instances.
instanceStates
- Information about the health of the instances.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)
or
withInstanceStates(java.util.Collection)
if you want to override
the existing values.
instanceStates
- Information about the health of the instances.public DescribeInstanceHealthResult withInstanceStates(java.util.Collection<InstanceState> instanceStates)
Information about the health of the instances.
instanceStates
- Information about the health of the instances.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 DescribeInstanceHealthResult clone()
clone
in class java.lang.Object