Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class ElasticLoadBalancer

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.ElasticLoadBalancer
All Implemented Interfaces:
Serializable

public class ElasticLoadBalancer
extends Object
implements Serializable

Describes an Elastic Load Balancing instance.

See Also:
Serialized Form

Constructor Summary
ElasticLoadBalancer()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getAvailabilityZones()
          The instance's Availability Zones.
 String getDnsName()
          The instance's public DNS name.
 List<String> getEc2InstanceIds()
          A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
 String getElasticLoadBalancerName()
          The Elastic Load Balancing instance's name.
 String getLayerId()
          The ID of the layer that the instance is attached to.
 String getRegion()
          The instance's AWS region.
 String getStackId()
          The ID of the stack that the instance is associated with.
 int hashCode()
           
 void setAvailabilityZones(Collection<String> availabilityZones)
          The instance's Availability Zones.
 void setDnsName(String dnsName)
          The instance's public DNS name.
 void setEc2InstanceIds(Collection<String> ec2InstanceIds)
          A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
 void setElasticLoadBalancerName(String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 void setLayerId(String layerId)
          The ID of the layer that the instance is attached to.
 void setRegion(String region)
          The instance's AWS region.
 void setStackId(String stackId)
          The ID of the stack that the instance is associated with.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ElasticLoadBalancer withAvailabilityZones(Collection<String> availabilityZones)
          The instance's Availability Zones.
 ElasticLoadBalancer withAvailabilityZones(String... availabilityZones)
          The instance's Availability Zones.
 ElasticLoadBalancer withDnsName(String dnsName)
          The instance's public DNS name.
 ElasticLoadBalancer withEc2InstanceIds(Collection<String> ec2InstanceIds)
          A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
 ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds)
          A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
 ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 ElasticLoadBalancer withLayerId(String layerId)
          The ID of the layer that the instance is attached to.
 ElasticLoadBalancer withRegion(String region)
          The instance's AWS region.
 ElasticLoadBalancer withStackId(String stackId)
          The ID of the stack that the instance is associated with.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElasticLoadBalancer

public ElasticLoadBalancer()
Method Detail

getElasticLoadBalancerName

public String getElasticLoadBalancerName()
The Elastic Load Balancing instance's name.

Returns:
The Elastic Load Balancing instance's name.

setElasticLoadBalancerName

public void setElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.

Parameters:
elasticLoadBalancerName - The Elastic Load Balancing instance's name.

withElasticLoadBalancerName

public ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.

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

Parameters:
elasticLoadBalancerName - The Elastic Load Balancing instance's name.
Returns:
A reference to this updated object so that method calls can be chained together.

getRegion

public String getRegion()
The instance's AWS region.

Returns:
The instance's AWS region.

setRegion

public void setRegion(String region)
The instance's AWS region.

Parameters:
region - The instance's AWS region.

withRegion

public ElasticLoadBalancer withRegion(String region)
The instance's AWS region.

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

Parameters:
region - The instance's AWS region.
Returns:
A reference to this updated object so that method calls can be chained together.

getDnsName

public String getDnsName()
The instance's public DNS name.

Returns:
The instance's public DNS name.

setDnsName

public void setDnsName(String dnsName)
The instance's public DNS name.

Parameters:
dnsName - The instance's public DNS name.

withDnsName

public ElasticLoadBalancer withDnsName(String dnsName)
The instance's public DNS name.

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

Parameters:
dnsName - The instance's public DNS name.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackId

public String getStackId()
The ID of the stack that the instance is associated with.

Returns:
The ID of the stack that the instance is associated with.

setStackId

public void setStackId(String stackId)
The ID of the stack that the instance is associated with.

Parameters:
stackId - The ID of the stack that the instance is associated with.

withStackId

public ElasticLoadBalancer withStackId(String stackId)
The ID of the stack that the instance is associated with.

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

Parameters:
stackId - The ID of the stack that the instance is associated with.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayerId

public String getLayerId()
The ID of the layer that the instance is attached to.

Returns:
The ID of the layer that the instance is attached to.

setLayerId

public void setLayerId(String layerId)
The ID of the layer that the instance is attached to.

Parameters:
layerId - The ID of the layer that the instance is attached to.

withLayerId

public ElasticLoadBalancer withLayerId(String layerId)
The ID of the layer that the instance is attached to.

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

Parameters:
layerId - The ID of the layer that the instance is attached to.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public List<String> getAvailabilityZones()
The instance's Availability Zones.

Returns:
The instance's Availability Zones.

setAvailabilityZones

public void setAvailabilityZones(Collection<String> availabilityZones)
The instance's Availability Zones.

Parameters:
availabilityZones - The instance's Availability Zones.

withAvailabilityZones

public ElasticLoadBalancer withAvailabilityZones(String... availabilityZones)
The instance's Availability Zones.

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

Parameters:
availabilityZones - The instance's Availability Zones.
Returns:
A reference to this updated object so that method calls can be chained together.

withAvailabilityZones

public ElasticLoadBalancer withAvailabilityZones(Collection<String> availabilityZones)
The instance's Availability Zones.

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

Parameters:
availabilityZones - The instance's Availability Zones.
Returns:
A reference to this updated object so that method calls can be chained together.

getEc2InstanceIds

public List<String> getEc2InstanceIds()
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

Returns:
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

setEc2InstanceIds

public void setEc2InstanceIds(Collection<String> ec2InstanceIds)
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

Parameters:
ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

withEc2InstanceIds

public ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds)
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

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

Parameters:
ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
Returns:
A reference to this updated object so that method calls can be chained together.

withEc2InstanceIds

public ElasticLoadBalancer withEc2InstanceIds(Collection<String> ec2InstanceIds)
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

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

Parameters:
ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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