com.amazonaws.services.elasticloadbalancing.model
Class DescribeInstanceHealthResult

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthResult
All Implemented Interfaces:
Serializable

public class DescribeInstanceHealthResult
extends Object
implements Serializable

The output for the DescribeInstanceHealth action.

See Also:
Serialized Form

Constructor Summary
DescribeInstanceHealthResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInstanceHealthResult

public DescribeInstanceHealthResult()
Method Detail

getInstanceStates

public List<InstanceState> getInstanceStates()
A list containing health information for the specified instances.

Returns:
A list containing health information for the specified instances.

setInstanceStates

public void setInstanceStates(Collection<InstanceState> instanceStates)
A list containing health information for the specified instances.

Parameters:
instanceStates - A list containing health information for the specified instances.

withInstanceStates

public DescribeInstanceHealthResult withInstanceStates(InstanceState... instanceStates)
A list containing health information for the specified instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceStates - A list containing health information for the specified instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceStates

public DescribeInstanceHealthResult withInstanceStates(Collection<InstanceState> instanceStates)
A list containing health information for the specified instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceStates - A list containing health information for the specified instances.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.