@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerDescription extends Object implements Serializable, Cloneable
Information about a load balancer.
Constructor and Description |
---|
LoadBalancerDescription() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The Availability Zones for the load balancer.
|
List<BackendServerDescription> |
getBackendServerDescriptions()
Information about your EC2 instances.
|
String |
getCanonicalHostedZoneName()
The DNS name of the load balancer.
|
String |
getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
Date |
getCreatedTime()
The date and time the load balancer was created.
|
String |
getDNSName()
The DNS name of the load balancer.
|
HealthCheck |
getHealthCheck()
Information about the health checks conducted on the load balancer.
|
List<Instance> |
getInstances()
The IDs of the instances for the load balancer.
|
List<ListenerDescription> |
getListenerDescriptions()
The listeners for the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
Policies |
getPolicies()
The policies defined for the load balancer.
|
String |
getScheme()
The type of load balancer.
|
List<String> |
getSecurityGroups()
The security groups for the load balancer.
|
SourceSecurityGroup |
getSourceSecurityGroup()
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
List<String> |
getSubnets()
The IDs of the subnets for the load balancer.
|
String |
getVPCId()
The ID of the VPC for the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
|
void |
setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
|
void |
setCanonicalHostedZoneName(String canonicalHostedZoneName)
The DNS name of the load balancer.
|
void |
setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
void |
setCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
void |
setDNSName(String dNSName)
The DNS name of the load balancer.
|
void |
setHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
|
void |
setInstances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
|
void |
setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicies(Policies policies)
The policies defined for the load balancer.
|
void |
setScheme(String scheme)
The type of load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer.
|
void |
setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
|
void |
setVPCId(String vPCId)
The ID of the VPC for the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LoadBalancerDescription |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withAvailabilityZones(String... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about your EC2 instances.
|
LoadBalancerDescription |
withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
|
LoadBalancerDescription |
withCanonicalHostedZoneName(String canonicalHostedZoneName)
The DNS name of the load balancer.
|
LoadBalancerDescription |
withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
|
LoadBalancerDescription |
withCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
LoadBalancerDescription |
withDNSName(String dNSName)
The DNS name of the load balancer.
|
LoadBalancerDescription |
withHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
|
LoadBalancerDescription |
withInstances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
|
LoadBalancerDescription |
withInstances(Instance... instances)
The IDs of the instances for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancerDescription |
withPolicies(Policies policies)
The policies defined for the load balancer.
|
LoadBalancerDescription |
withScheme(String scheme)
The type of load balancer.
|
LoadBalancerDescription |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription |
withSecurityGroups(String... securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription |
withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group for the load balancer, which you can use as part of your inbound rules for your registered
instances.
|
LoadBalancerDescription |
withSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withSubnets(String... subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withVPCId(String vPCId)
The ID of the VPC for the load balancer.
|
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setDNSName(String dNSName)
The DNS name of the load balancer.
dNSName
- The DNS name of the load balancer.public String getDNSName()
The DNS name of the load balancer.
public LoadBalancerDescription withDNSName(String dNSName)
The DNS name of the load balancer.
dNSName
- The DNS name of the load balancer.public void setCanonicalHostedZoneName(String canonicalHostedZoneName)
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
canonicalHostedZoneName
- The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
public String getCanonicalHostedZoneName()
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
public LoadBalancerDescription withCanonicalHostedZoneName(String canonicalHostedZoneName)
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
canonicalHostedZoneName
- The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide.
public void setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone for the load balancer.public String getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone for the load balancer.
public LoadBalancerDescription withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone for the load balancer.
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone for the load balancer.public List<ListenerDescription> getListenerDescriptions()
The listeners for the load balancer.
public void setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
listenerDescriptions
- The listeners for the load balancer.public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setListenerDescriptions(java.util.Collection)
or withListenerDescriptions(java.util.Collection)
if you want to override the existing values.
listenerDescriptions
- The listeners for the load balancer.public LoadBalancerDescription withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
listenerDescriptions
- The listeners for the load balancer.public void setPolicies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.public Policies getPolicies()
The policies defined for the load balancer.
public LoadBalancerDescription withPolicies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.public List<BackendServerDescription> getBackendServerDescriptions()
Information about your EC2 instances.
public void setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
backendServerDescriptions
- Information about your EC2 instances.public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about your EC2 instances.
NOTE: This method appends the values to the existing list (if any). Use
setBackendServerDescriptions(java.util.Collection)
or
withBackendServerDescriptions(java.util.Collection)
if you want to override the existing values.
backendServerDescriptions
- Information about your EC2 instances.public LoadBalancerDescription withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about your EC2 instances.
backendServerDescriptions
- Information about your EC2 instances.public List<String> getAvailabilityZones()
The Availability Zones for the load balancer.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancerDescription withAvailabilityZones(String... availabilityZones)
The Availability Zones for the load balancer.
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
- The Availability Zones for the load balancer.public LoadBalancerDescription withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public List<String> getSubnets()
The IDs of the subnets for the load balancer.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.public LoadBalancerDescription withSubnets(String... subnets)
The IDs of the subnets for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The IDs of the subnets for the load balancer.public LoadBalancerDescription withSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.public void setVPCId(String vPCId)
The ID of the VPC for the load balancer.
vPCId
- The ID of the VPC for the load balancer.public String getVPCId()
The ID of the VPC for the load balancer.
public LoadBalancerDescription withVPCId(String vPCId)
The ID of the VPC for the load balancer.
vPCId
- The ID of the VPC for the load balancer.public List<Instance> getInstances()
The IDs of the instances for the load balancer.
public void setInstances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
instances
- The IDs of the instances for the load balancer.public LoadBalancerDescription withInstances(Instance... instances)
The IDs of the instances for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The IDs of the instances for the load balancer.public LoadBalancerDescription withInstances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
instances
- The IDs of the instances for the load balancer.public void setHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
healthCheck
- Information about the health checks conducted on the load balancer.public HealthCheck getHealthCheck()
Information about the health checks conducted on the load balancer.
public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
healthCheck
- Information about the health checks conducted on the load balancer.public void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
sourceSecurityGroup
- The security group for the load balancer, which you can use as part of your inbound rules for your
registered instances. To only allow traffic from load balancers, add a security group rule that specifies
this source security group as the inbound source.public SourceSecurityGroup getSourceSecurityGroup()
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
sourceSecurityGroup
- The security group for the load balancer, which you can use as part of your inbound rules for your
registered instances. To only allow traffic from load balancers, add a security group rule that specifies
this source security group as the inbound source.public List<String> getSecurityGroups()
The security groups for the load balancer. Valid only for load balancers in a VPC.
public void setSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.public LoadBalancerDescription withSecurityGroups(String... securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.public LoadBalancerDescription withSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.public void setCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public Date getCreatedTime()
The date and time the load balancer was created.
public LoadBalancerDescription withCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public void setScheme(String scheme)
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
scheme
- The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public String getScheme()
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public LoadBalancerDescription withScheme(String scheme)
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to
a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a
private IP address.
scheme
- The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that
resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to
a private IP address.
public String toString()
toString
in class Object
Object.toString()
public LoadBalancerDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.