com.amazonaws.services.elasticloadbalancing.model
Class DescribeInstanceHealthResult

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthResult

public class DescribeInstanceHealthResult
extends Object

The output for the DescribeInstanceHealth action.


Constructor Summary
DescribeInstanceHealthResult()
           
 
Method Summary
 List<InstanceState> getInstanceStates()
          A list containing health information for the specified instances.
 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
equals, getClass, hashCode, 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()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.