@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 for which the Elastic Load Balancing instance is managing traffic.
|
String |
getElasticLoadBalancerName()
The Elastic Load Balancing instance name.
|
String |
getLayerId()
The ID of the layer to which the instance is attached.
|
String |
getRegion()
The instance's Amazon Web Services Region.
|
String |
getStackId()
The ID of the stack with which the instance is associated.
|
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 for which the Elastic Load Balancing instance is managing traffic.
|
void |
setElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance name.
|
void |
setLayerId(String layerId)
The ID of the layer to which the instance is attached.
|
void |
setRegion(String region)
The instance's Amazon Web Services Region.
|
void |
setStackId(String stackId)
The ID of the stack with which the instance is associated.
|
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.
|
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 for which the Elastic Load Balancing instance is managing traffic.
|
ElasticLoadBalancer |
withEc2InstanceIds(String... ec2InstanceIds)
A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.
|
ElasticLoadBalancer |
withElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance name.
|
ElasticLoadBalancer |
withLayerId(String layerId)
The ID of the layer to which the instance is attached.
|
ElasticLoadBalancer |
withRegion(String region)
The instance's Amazon Web Services Region.
|
ElasticLoadBalancer |
withStackId(String stackId)
The ID of the stack with which the instance is associated.
|
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 name.
elasticLoadBalancerName
- The Elastic Load Balancing instance name.public String getElasticLoadBalancerName()
The Elastic Load Balancing instance name.
public ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance name.
elasticLoadBalancerName
- The Elastic Load Balancing instance name.public void setRegion(String region)
The instance's Amazon Web Services Region.
region
- The instance's Amazon Web Services Region.public String getRegion()
The instance's Amazon Web Services Region.
public ElasticLoadBalancer withRegion(String region)
The instance's Amazon Web Services Region.
region
- The instance's Amazon Web Services 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 with which the instance is associated.
stackId
- The ID of the stack with which the instance is associated.public String getStackId()
The ID of the stack with which the instance is associated.
public ElasticLoadBalancer withStackId(String stackId)
The ID of the stack with which the instance is associated.
stackId
- The ID of the stack with which the instance is associated.public void setLayerId(String layerId)
The ID of the layer to which the instance is attached.
layerId
- The ID of the layer to which the instance is attached.public String getLayerId()
The ID of the layer to which the instance is attached.
public ElasticLoadBalancer withLayerId(String layerId)
The ID of the layer to which the instance is attached.
layerId
- The ID of the layer to which the instance is attached.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 for which the Elastic Load Balancing instance is managing traffic.
public void setEc2InstanceIds(Collection<String> ec2InstanceIds)
A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.
ec2InstanceIds
- A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.public ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds)
A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.
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 for which the Elastic Load Balancing instance is managing traffic.public ElasticLoadBalancer withEc2InstanceIds(Collection<String> ec2InstanceIds)
A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.
ec2InstanceIds
- A list of the EC2 instances for which the Elastic Load Balancing instance is managing traffic.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.