@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceHealthResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output for DescribeInstanceHealth.
| Constructor and Description |
|---|
DescribeInstanceHealthResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeInstanceHealthResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceState> |
getInstanceStates()
Information about the health of the instances.
|
int |
hashCode() |
void |
setInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceHealthResult |
withInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
DescribeInstanceHealthResult |
withInstanceStates(InstanceState... instanceStates)
Information about the health of the instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<InstanceState> getInstanceStates()
Information about the health of the instances.
public void setInstanceStates(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(Collection<InstanceState> instanceStates)
Information about the health of the instances.
instanceStates - Information about the health of the instances.public String toString()
toString in class ObjectObject.toString()public DescribeInstanceHealthResult clone()