com.amazonaws.services.elasticloadbalancing.model
Class DescribeInstanceHealthRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthRequest

public class DescribeInstanceHealthRequest
extends AmazonWebServiceRequest

Returns the current state of the instances of the specified LoadBalancer. If no instances are specified, the state of all the instances for the LoadBalancer is returned.


Constructor Summary
DescribeInstanceHealthRequest()
           
 
Method Summary
 List<Instance> getInstances()
          A list of instance IDs whose states are being queried.
 String getLoadBalancerName()
          The name associated with the LoadBalancer.
 void setInstances(Collection<Instance> instances)
          A list of instance IDs whose states are being queried.
 void setLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer.
 DescribeInstanceHealthRequest withInstances(Collection<Instance> instances)
          A list of instance IDs whose states are being queried.
 DescribeInstanceHealthRequest withInstances(Instance... instances)
          A list of instance IDs whose states are being queried.
 DescribeInstanceHealthRequest withLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescribeInstanceHealthRequest

public DescribeInstanceHealthRequest()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The name associated with the LoadBalancer. The name must be unique within the client AWS account.

Returns:
The name associated with the LoadBalancer. The name must be unique within the client AWS account.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. The name must be unique within the client AWS account.

Parameters:
loadBalancerName - The name associated with the LoadBalancer. The name must be unique within the client AWS account.

withLoadBalancerName

public DescribeInstanceHealthRequest withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. The name must be unique within the client AWS account.

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

Parameters:
loadBalancerName - The name associated with the LoadBalancer. The name must be unique within the client AWS account.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstances

public List<Instance> getInstances()
A list of instance IDs whose states are being queried.

Returns:
A list of instance IDs whose states are being queried.

setInstances

public void setInstances(Collection<Instance> instances)
A list of instance IDs whose states are being queried.

Parameters:
instances - A list of instance IDs whose states are being queried.

withInstances

public DescribeInstanceHealthRequest withInstances(Instance... instances)
A list of instance IDs whose states are being queried.

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

Parameters:
instances - A list of instance IDs whose states are being queried.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public DescribeInstanceHealthRequest withInstances(Collection<Instance> instances)
A list of instance IDs whose states are being queried.

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

Parameters:
instances - A list of instance IDs whose states are being queried.
Returns:
A reference to this updated object so that method calls can be chained together.


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