Class ElasticLoadBalancer
- All Implemented Interfaces:
Serializable, Cloneable
Describes an Elastic Load Balancing instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list of Availability Zones.The instance's public DNS name.A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.The Elastic Load Balancing instance's name.The ID of the layer that the instance is attached to.The instance's AWS region.The ID of the stack that the instance is associated with.A list of subnet IDs, if the stack is running in a VPC.getVpcId()The VPC ID.inthashCode()voidsetAvailabilityZones(Collection<String> availabilityZones) A list of Availability Zones.voidsetDnsName(String dnsName) The instance's public DNS name.voidsetEc2InstanceIds(Collection<String> ec2InstanceIds) A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.voidsetElasticLoadBalancerName(String elasticLoadBalancerName) The Elastic Load Balancing instance's name.voidsetLayerId(String layerId) The ID of the layer that the instance is attached to.voidThe instance's AWS region.voidsetStackId(String stackId) The ID of the stack that the instance is associated with.voidsetSubnetIds(Collection<String> subnetIds) A list of subnet IDs, if the stack is running in a VPC.voidThe VPC ID.toString()Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones(String... availabilityZones) A list of Availability Zones.withAvailabilityZones(Collection<String> availabilityZones) A list of Availability Zones.withDnsName(String dnsName) The instance's public DNS name.withEc2InstanceIds(String... ec2InstanceIds) A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.withEc2InstanceIds(Collection<String> ec2InstanceIds) A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.withElasticLoadBalancerName(String elasticLoadBalancerName) The Elastic Load Balancing instance's name.withLayerId(String layerId) The ID of the layer that the instance is attached to.withRegion(String region) The instance's AWS region.withStackId(String stackId) The ID of the stack that the instance is associated with.withSubnetIds(String... subnetIds) A list of subnet IDs, if the stack is running in a VPC.withSubnetIds(Collection<String> subnetIds) A list of subnet IDs, if the stack is running in a VPC.The VPC ID.
-
Constructor Details
-
ElasticLoadBalancer
public ElasticLoadBalancer()
-
-
Method Details
-
setElasticLoadBalancerName
The Elastic Load Balancing instance's name.
- Parameters:
elasticLoadBalancerName- The Elastic Load Balancing instance's name.
-
getElasticLoadBalancerName
The Elastic Load Balancing instance's name.
- Returns:
- The Elastic Load Balancing instance's name.
-
withElasticLoadBalancerName
The Elastic Load Balancing instance's name.
- Parameters:
elasticLoadBalancerName- The Elastic Load Balancing instance's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegion
The instance's AWS region.
- Parameters:
region- The instance's AWS region.
-
getRegion
-
withRegion
The instance's AWS region.
- Parameters:
region- The instance's AWS region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDnsName
The instance's public DNS name.
- Parameters:
dnsName- The instance's public DNS name.
-
getDnsName
-
withDnsName
The instance's public DNS name.
- Parameters:
dnsName- The instance's public DNS name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
The ID of the stack that the instance is associated with.
- Parameters:
stackId- The ID of the stack that the instance is associated with.
-
getStackId
The ID of the stack that the instance is associated with.
- Returns:
- The ID of the stack that the instance is associated with.
-
withStackId
The ID of the stack that the instance is associated with.
- Parameters:
stackId- The ID of the stack that the instance is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayerId
The ID of the layer that the instance is attached to.
- Parameters:
layerId- The ID of the layer that the instance is attached to.
-
getLayerId
The ID of the layer that the instance is attached to.
- Returns:
- The ID of the layer that the instance is attached to.
-
withLayerId
The ID of the layer that the instance is attached to.
- Parameters:
layerId- The ID of the layer that the instance is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
-
getVpcId
-
withVpcId
The VPC ID.
- Parameters:
vpcId- The VPC ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
-
setAvailabilityZones
A list of Availability Zones.
- Parameters:
availabilityZones- A list of Availability Zones.
-
withAvailabilityZones
A list of Availability Zones.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)orwithAvailabilityZones(java.util.Collection)if you want to override the existing values.- Parameters:
availabilityZones- A list of Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
A list of Availability Zones.
- Parameters:
availabilityZones- A list of Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
-
setSubnetIds
A list of subnet IDs, if the stack is running in a VPC.
- Parameters:
subnetIds- A list of subnet IDs, if the stack is running in a VPC.
-
withSubnetIds
A list of subnet IDs, if the stack is running in a VPC.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)orwithSubnetIds(java.util.Collection)if you want to override the existing values.- Parameters:
subnetIds- A list of subnet IDs, if the stack is running in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
A list of subnet IDs, if the stack is running in a VPC.
- Parameters:
subnetIds- A list of subnet IDs, if the stack is running in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEc2InstanceIds
-
setEc2InstanceIds
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
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
NOTE: This method appends the values to the existing list (if any). Use
setEc2InstanceIds(java.util.Collection)orwithEc2InstanceIds(java.util.Collection)if you want to override the existing values.- Parameters:
ec2InstanceIds- A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEc2InstanceIds
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-