@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticLoadBalancer extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Elastic Load Balancing instance.
Constructor and Description |
---|
ElasticLoadBalancer() |
Modifier and Type | Method and Description |
---|---|
ElasticLoadBalancer |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public String getElasticLoadBalancerName()
The Elastic Load Balancing instance's name.
public ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public void setRegion(String region)
The instance's AWS region.
region
- The instance's AWS region.public String getRegion()
The instance's AWS region.
public ElasticLoadBalancer withRegion(String region)
The instance's AWS region.
region
- The instance's AWS region.public void setDnsName(String dnsName)
The instance's public DNS name.
dnsName
- The instance's public DNS name.public String getDnsName()
The instance's public DNS name.
public ElasticLoadBalancer withDnsName(String dnsName)
The instance's public DNS name.
dnsName
- The instance's public DNS name.public void setStackId(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 String getStackId()
The ID of the stack that the instance is associated with.
public ElasticLoadBalancer withStackId(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(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 String getLayerId()
The ID of the layer that the instance is attached to.
public ElasticLoadBalancer withLayerId(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(String vpcId)
The VPC ID.
vpcId
- The VPC ID.public String getVpcId()
The VPC ID.
public ElasticLoadBalancer withVpcId(String vpcId)
The VPC ID.
vpcId
- The VPC ID.public List<String> getAvailabilityZones()
A list of Availability Zones.
public void setAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones.
availabilityZones
- A list of Availability Zones.public ElasticLoadBalancer withAvailabilityZones(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(Collection<String> availabilityZones)
A list of Availability Zones.
availabilityZones
- A list of Availability Zones.public List<String> getSubnetIds()
A list of subnet IDs, if the stack is running in a VPC.
public void setSubnetIds(Collection<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(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(Collection<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 List<String> getEc2InstanceIds()
A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
public void setEc2InstanceIds(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public ElasticLoadBalancer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.