com.amazonaws.services.elasticloadbalancing.model
Class CreateLoadBalancerRequest

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

public class CreateLoadBalancerRequest
extends AmazonWebServiceRequest


Constructor Summary
CreateLoadBalancerRequest()
           
 
Method Summary
 List<String> getAvailabilityZones()
          A list of Availability Zones.
 List<Listener> getListeners()
          A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
 String getLoadBalancerName()
          The name associated with the LoadBalancer.
 void setAvailabilityZones(Collection<String> availabilityZones)
          A list of Availability Zones.
 void setListeners(Collection<Listener> listeners)
          A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
 void setLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer.
 CreateLoadBalancerRequest withAvailabilityZones(Collection<String> availabilityZones)
          A list of Availability Zones.
 CreateLoadBalancerRequest withAvailabilityZones(String... availabilityZones)
          A list of Availability Zones.
 CreateLoadBalancerRequest withListeners(Collection<Listener> listeners)
          A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
 CreateLoadBalancerRequest withListeners(Listener... listeners)
          A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
 CreateLoadBalancerRequest 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

CreateLoadBalancerRequest

public CreateLoadBalancerRequest()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.

Returns:
The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.

Parameters:
loadBalancerName - The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.

withLoadBalancerName

public CreateLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.

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 your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.
Returns:
A reference to this updated object so that method calls can be chained together.

getListeners

public List<Listener> getListeners()
A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

Returns:
A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

setListeners

public void setListeners(Collection<Listener> listeners)
A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

Parameters:
listeners - A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

withListeners

public CreateLoadBalancerRequest withListeners(Listener... listeners)
A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

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

Parameters:
listeners - A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
Returns:
A reference to this updated object so that method calls can be chained together.

withListeners

public CreateLoadBalancerRequest withListeners(Collection<Listener> listeners)
A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.

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

Parameters:
listeners - A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public List<String> getAvailabilityZones()
A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.

Returns:
A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.


setAvailabilityZones

public void setAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.

Parameters:
availabilityZones - A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.


withAvailabilityZones

public CreateLoadBalancerRequest withAvailabilityZones(String... availabilityZones)
A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.

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

Parameters:
availabilityZones - A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.

Returns:
A reference to this updated object so that method calls can be chained together.

withAvailabilityZones

public CreateLoadBalancerRequest withAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of the LoadBalancer.

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

Parameters:
availabilityZones - A list of Availability Zones.

At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones.

This list can be modified after the creation of 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.