public class DescribeInstanceHealthResult extends Object implements Serializable
The output for the DescribeInstanceHealth action.
Constructor and Description |
---|
DescribeInstanceHealthResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InstanceState> |
getInstanceStates()
A list containing health information for the specified instances.
|
int |
hashCode() |
void |
setInstanceStates(Collection<InstanceState> instanceStates)
A list containing health information for the specified instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceHealthResult |
withInstanceStates(Collection<InstanceState> instanceStates)
A list containing health information for the specified instances.
|
DescribeInstanceHealthResult |
withInstanceStates(InstanceState... instanceStates)
A list containing health information for the specified instances.
|
public List<InstanceState> getInstanceStates()
public void setInstanceStates(Collection<InstanceState> instanceStates)
instanceStates
- A list containing health information for the specified instances.public DescribeInstanceHealthResult withInstanceStates(InstanceState... instanceStates)
Returns a reference to this object so that method calls can be chained together.
instanceStates
- A list containing health information for the specified instances.public DescribeInstanceHealthResult withInstanceStates(Collection<InstanceState> instanceStates)
Returns a reference to this object so that method calls can be chained together.
instanceStates
- A list containing health information for the specified instances.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.