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:
java.io.Serializable

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

Describes an Elastic Load Balancing instance.

See Also:
Serialized Form

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

Returns:
The Elastic Load Balancing instance's name.

setElasticLoadBalancerName

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

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

withElasticLoadBalancerName

public ElasticLoadBalancer withElasticLoadBalancerName(java.lang.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.

getRegion

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

Returns:
The instance's AWS region.

setRegion

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

Parameters:
region - The instance's AWS region.

withRegion

public ElasticLoadBalancer withRegion(java.lang.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.

getDnsName

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

Returns:
The instance's public DNS name.

setDnsName

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

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

withDnsName

public ElasticLoadBalancer withDnsName(java.lang.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.

getStackId

public java.lang.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(java.lang.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(java.lang.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.

getLayerId

public java.lang.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(java.lang.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(java.lang.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.

getAvailabilityZones

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

Returns:
The instance's Availability Zones.

setAvailabilityZones

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

Parameters:
availabilityZones - The instance's Availability Zones.

withAvailabilityZones

public ElasticLoadBalancer withAvailabilityZones(java.lang.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.

withAvailabilityZones

public ElasticLoadBalancer withAvailabilityZones(java.util.Collection<java.lang.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.

getEc2InstanceIds

public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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.

withEc2InstanceIds

public ElasticLoadBalancer withEc2InstanceIds(java.util.Collection<java.lang.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.

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.