com.amazonaws.services.elasticloadbalancing.model
Class DescribeInstanceHealthResult

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

public class DescribeInstanceHealthResult
extends java.lang.Object
implements java.io.Serializable

The output for the DescribeInstanceHealth action.

See Also:
Serialized Form

Constructor Summary
DescribeInstanceHealthResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<InstanceState> getInstanceStates()
          A list containing health information for the specified instances.
 int hashCode()
           
 void setInstanceStates(java.util.Collection<InstanceState> instanceStates)
          A list containing health information for the specified instances.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInstanceHealthResult withInstanceStates(java.util.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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInstanceHealthResult

public DescribeInstanceHealthResult()
Method Detail

getInstanceStates

public java.util.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(java.util.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(java.util.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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