public class DescribeInstanceHealthResult extends Object implements Serializable
Contains the output for DescribeInstanceHealth.
Constructor and Description |
---|
DescribeInstanceHealthResult() |
Modifier and Type | Method and Description |
---|---|
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.
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.
Returns a reference to this object so that method calls can be chained together.
instanceStates
- Information about the health of the instances.
public DescribeInstanceHealthResult withInstanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
Returns a reference to this object so that method calls can be chained together.
instanceStates
- Information about the health of the instances.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.