public class DescribeInstanceHealthResult extends Object implements Serializable, Cloneable
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; useful for testing and
debugging.
|
DescribeInstanceHealthResult |
withInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
DescribeInstanceHealthResult |
withInstanceStates(InstanceState... instanceStates)
Information about the health of the instances.
|
public 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 Object
Object.toString()
public DescribeInstanceHealthResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.