public class ElasticLoadBalancer
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an Elastic Load Balancing instance.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
availabilityZones
A list of Availability Zones.
|
private java.lang.String |
dnsName
The instance's public DNS name.
|
private SdkInternalList<java.lang.String> |
ec2InstanceIds
A list of the EC2 instances that the Elastic Load Balancing instance is
managing traffic for.
|
private java.lang.String |
elasticLoadBalancerName
The Elastic Load Balancing instance's name.
|
private java.lang.String |
layerId
The ID of the layer that the instance is attached to.
|
private java.lang.String |
region
The instance's AWS region.
|
private java.lang.String |
stackId
The ID of the stack that the instance is associated with.
|
private SdkInternalList<java.lang.String> |
subnetIds
A list of subnet IDs, if the stack is running in a VPC.
|
private java.lang.String |
vpcId
The VPC ID.
|
Constructor and Description |
---|
ElasticLoadBalancer() |
Modifier and Type | Method and Description |
---|---|
ElasticLoadBalancer |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
A list of 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.
|
java.util.List<java.lang.String> |
getSubnetIds()
A list of subnet IDs, if the stack is running in a VPC.
|
java.lang.String |
getVpcId()
The VPC ID.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of 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.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
void |
setVpcId(java.lang.String vpcId)
The VPC ID.
|
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)
A list of Availability Zones.
|
ElasticLoadBalancer |
withAvailabilityZones(java.lang.String... availabilityZones)
A list of 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.
|
ElasticLoadBalancer |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
ElasticLoadBalancer |
withSubnetIds(java.lang.String... subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
|
ElasticLoadBalancer |
withVpcId(java.lang.String vpcId)
The VPC ID.
|
private java.lang.String elasticLoadBalancerName
The Elastic Load Balancing instance's name.
private java.lang.String region
The instance's AWS region.
private java.lang.String dnsName
The instance's public DNS name.
private java.lang.String stackId
The ID of the stack that the instance is associated with.
private java.lang.String layerId
The ID of the layer that the instance is attached to.
private java.lang.String vpcId
The VPC ID.
private SdkInternalList<java.lang.String> availabilityZones
A list of Availability Zones.
private SdkInternalList<java.lang.String> subnetIds
A list of subnet IDs, if the stack is running in a VPC.
private SdkInternalList<java.lang.String> ec2InstanceIds
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
public void setElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public java.lang.String getElasticLoadBalancerName()
The Elastic Load Balancing instance's name.
public ElasticLoadBalancer withElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public void setRegion(java.lang.String region)
The instance's AWS region.
region
- The instance's AWS region.public java.lang.String getRegion()
The instance's AWS region.
public ElasticLoadBalancer withRegion(java.lang.String region)
The instance's AWS region.
region
- The instance's AWS region.public void setDnsName(java.lang.String dnsName)
The instance's public DNS name.
dnsName
- The instance's public DNS name.public java.lang.String getDnsName()
The instance's public DNS name.
public ElasticLoadBalancer withDnsName(java.lang.String dnsName)
The instance's public DNS name.
dnsName
- The instance's public DNS name.public void setStackId(java.lang.String stackId)
The ID of the stack that the instance is associated with.
stackId
- The ID of the stack that the instance is associated with.public java.lang.String getStackId()
The ID of the stack that the instance is associated with.
public ElasticLoadBalancer withStackId(java.lang.String stackId)
The ID of the stack that the instance is associated with.
stackId
- The ID of the stack that the instance is associated with.public void setLayerId(java.lang.String layerId)
The ID of the layer that the instance is attached to.
layerId
- The ID of the layer that the instance is attached to.public java.lang.String getLayerId()
The ID of the layer that the instance is attached to.
public ElasticLoadBalancer withLayerId(java.lang.String layerId)
The ID of the layer that the instance is attached to.
layerId
- The ID of the layer that the instance is attached to.public void setVpcId(java.lang.String vpcId)
The VPC ID.
vpcId
- The VPC ID.public java.lang.String getVpcId()
The VPC ID.
public ElasticLoadBalancer withVpcId(java.lang.String vpcId)
The VPC ID.
vpcId
- The VPC ID.public java.util.List<java.lang.String> getAvailabilityZones()
A list of Availability Zones.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of Availability Zones.
availabilityZones
- A list of Availability Zones.public ElasticLoadBalancer withAvailabilityZones(java.lang.String... availabilityZones)
A list of Availability Zones.
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
availabilityZones
- A list of Availability Zones.public ElasticLoadBalancer withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of Availability Zones.
availabilityZones
- A list of Availability Zones.public java.util.List<java.lang.String> getSubnetIds()
A list of subnet IDs, if the stack is running in a VPC.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public ElasticLoadBalancer withSubnetIds(java.lang.String... subnetIds)
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)
or
withSubnetIds(java.util.Collection)
if you want to override the
existing values.
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public ElasticLoadBalancer withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs, if the stack is running in a VPC.
subnetIds
- A list of subnet IDs, if the stack is running in a VPC.public java.util.List<java.lang.String> getEc2InstanceIds()
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
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.
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing
instance is managing traffic for.public ElasticLoadBalancer withEc2InstanceIds(java.lang.String... ec2InstanceIds)
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)
or
withEc2InstanceIds(java.util.Collection)
if you want to override
the existing values.
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing
instance is managing traffic for.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.
ec2InstanceIds
- A list of the EC2 instances that the Elastic Load Balancing
instance is managing traffic for.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ElasticLoadBalancer clone()
clone
in class java.lang.Object