public class ElasticLoadBalancer extends Object implements Serializable
Describes an Elastic Load Balancing instance.
Constructor and Description |
---|
ElasticLoadBalancer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
A list of 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.
|
List<String> |
getSubnetIds()
A list of subnet IDs, if the stack is running in a VPC.
|
String |
getVpcId()
The VPC ID.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
A list of 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.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
void |
setVpcId(String vpcId)
The VPC ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ElasticLoadBalancer |
withAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones.
|
ElasticLoadBalancer |
withAvailabilityZones(String... availabilityZones)
A list of 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.
|
ElasticLoadBalancer |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
ElasticLoadBalancer |
withSubnetIds(String... subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
ElasticLoadBalancer |
withVpcId(String vpcId)
The VPC ID.
|
public String getElasticLoadBalancerName()
public void setElasticLoadBalancerName(String elasticLoadBalancerName)
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName)
Returns a reference to this object so that method calls can be chained together.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public String getRegion()
public void setRegion(String region)
region
- The instance's AWS region.public ElasticLoadBalancer withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
region
- The instance's AWS region.public String getDnsName()
public void setDnsName(String dnsName)
dnsName
- The instance's public DNS name.public ElasticLoadBalancer withDnsName(String dnsName)
Returns a reference to this object so that method calls can be chained together.
dnsName
- The instance's public DNS name.public String getStackId()
public void setStackId(String stackId)
stackId
- The ID of the stack that the instance is associated with.public ElasticLoadBalancer withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The ID of the stack that the instance is associated with.public String getLayerId()
public void setLayerId(String layerId)
layerId
- The ID of the layer that the instance is attached to.public ElasticLoadBalancer withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The ID of the layer that the instance is attached to.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The VPC ID.public ElasticLoadBalancer withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The VPC ID.public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones
- A list of Availability Zones.public ElasticLoadBalancer withAvailabilityZones(String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones.public ElasticLoadBalancer withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public ElasticLoadBalancer withSubnetIds(String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public ElasticLoadBalancer withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public List<String> getEc2InstanceIds()
public void setEc2InstanceIds(Collection<String> ec2InstanceIds)
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing instance
is managing traffic for.public ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds)
Returns a reference to this object so that method calls can be chained together.
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing instance
is managing traffic for.public ElasticLoadBalancer withEc2InstanceIds(Collection<String> ec2InstanceIds)
Returns a reference to this object so that method calls can be chained together.
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing instance
is managing traffic for.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.