com.amazonaws.services.elasticloadbalancing.model
Class RegisterInstancesWithLoadBalancerRequest

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

public class RegisterInstancesWithLoadBalancerRequest
extends AmazonWebServiceRequest


Constructor Summary
RegisterInstancesWithLoadBalancerRequest()
           
 
Method Summary
 List<Instance> getInstances()
          A list of instances IDs that should be registered with the LoadBalancer.
 String getLoadBalancerName()
          The name associated with the LoadBalancer.
 void setInstances(Collection<Instance> instances)
          A list of instances IDs that should be registered with the LoadBalancer.
 void setLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer.
 RegisterInstancesWithLoadBalancerRequest withInstances(Collection<Instance> instances)
          A list of instances IDs that should be registered with the LoadBalancer.
 RegisterInstancesWithLoadBalancerRequest withInstances(Instance... instances)
          A list of instances IDs that should be registered with the LoadBalancer.
 RegisterInstancesWithLoadBalancerRequest 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

RegisterInstancesWithLoadBalancerRequest

public RegisterInstancesWithLoadBalancerRequest()
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 RegisterInstancesWithLoadBalancerRequest 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 instances IDs that should be registered with the LoadBalancer.

Returns:
A list of instances IDs that should be registered with the LoadBalancer.

setInstances

public void setInstances(Collection<Instance> instances)
A list of instances IDs that should be registered with the LoadBalancer.

Parameters:
instances - A list of instances IDs that should be registered with the LoadBalancer.

withInstances

public RegisterInstancesWithLoadBalancerRequest withInstances(Instance... instances)
A list of instances IDs that should be registered with the LoadBalancer.

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

Parameters:
instances - A list of instances IDs that should be registered with the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public RegisterInstancesWithLoadBalancerRequest withInstances(Collection<Instance> instances)
A list of instances IDs that should be registered with the LoadBalancer.

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

Parameters:
instances - A list of instances IDs that should be registered with the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.


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