Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticloadbalancing.model
Class LoadBalancerDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.LoadBalancerDescription
All Implemented Interfaces:
java.io.Serializable

public class LoadBalancerDescription
extends java.lang.Object
implements java.io.Serializable

Contains the result of a successful invocation of DescribeLoadBalancers.

See Also:
Serialized Form

Constructor Summary
LoadBalancerDescription()
          Default constructor for a new LoadBalancerDescription object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getAvailabilityZones()
          Specifies a list of Availability Zones.
 java.util.List<BackendServerDescription> getBackendServerDescriptions()
          Contains a list of back-end server descriptions.
 java.lang.String getCanonicalHostedZoneName()
          Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer.
 java.lang.String getCanonicalHostedZoneNameID()
          Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer.
 java.util.Date getCreatedTime()
          Provides the date and time the LoadBalancer was created.
 java.lang.String getDNSName()
          Specifies the external DNS name associated with the LoadBalancer.
 HealthCheck getHealthCheck()
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 java.util.List<Instance> getInstances()
          Provides a list of EC2 instance IDs for the LoadBalancer.
 java.util.List<ListenerDescription> getListenerDescriptions()
          LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 java.lang.String getLoadBalancerName()
          Specifies the name associated with the LoadBalancer.
 Policies getPolicies()
          Provides a list of policies defined for the LoadBalancer.
 java.lang.String getScheme()
          Specifies the type of a load balancer.
 java.util.List<java.lang.String> getSecurityGroups()
          The security groups the LoadBalancer is a member of (VPC only).
 SourceSecurityGroup getSourceSecurityGroup()
          The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances.
 java.util.List<java.lang.String> getSubnets()
          Provides a list of VPC subnet IDs for the LoadBalancer.
 java.lang.String getVPCId()
          Provides the ID of the VPC attached to the LoadBalancer.
 int hashCode()
           
 void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
          Specifies a list of Availability Zones.
 void setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
          Contains a list of back-end server descriptions.
 void setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
          Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer.
 void setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
          Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer.
 void setCreatedTime(java.util.Date createdTime)
          Provides the date and time the LoadBalancer was created.
 void setDNSName(java.lang.String dNSName)
          Specifies the external DNS name associated with the LoadBalancer.
 void setHealthCheck(HealthCheck healthCheck)
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 void setInstances(java.util.Collection<Instance> instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 void setLoadBalancerName(java.lang.String loadBalancerName)
          Specifies the name associated with the LoadBalancer.
 void setPolicies(Policies policies)
          Provides a list of policies defined for the LoadBalancer.
 void setScheme(java.lang.String scheme)
          Specifies the type of a load balancer.
 void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
          The security groups the LoadBalancer is a member of (VPC only).
 void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
          The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances.
 void setSubnets(java.util.Collection<java.lang.String> subnets)
          Provides a list of VPC subnet IDs for the LoadBalancer.
 void setVPCId(java.lang.String vPCId)
          Provides the ID of the VPC attached to the LoadBalancer.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 LoadBalancerDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
          Specifies a list of Availability Zones.
 LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
          Specifies a list of Availability Zones.
 LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
          Contains a list of back-end server descriptions.
 LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
          Contains a list of back-end server descriptions.
 LoadBalancerDescription withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
          Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer.
 LoadBalancerDescription withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
          Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer.
 LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
          Provides the date and time the LoadBalancer was created.
 LoadBalancerDescription withDNSName(java.lang.String dNSName)
          Specifies the external DNS name associated with the LoadBalancer.
 LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 LoadBalancerDescription withInstances(Instance... instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
          Specifies the name associated with the LoadBalancer.
 LoadBalancerDescription withPolicies(Policies policies)
          Provides a list of policies defined for the LoadBalancer.
 LoadBalancerDescription withScheme(java.lang.String scheme)
          Specifies the type of a load balancer.
 LoadBalancerDescription withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
          The security groups the LoadBalancer is a member of (VPC only).
 LoadBalancerDescription withSecurityGroups(java.lang.String... securityGroups)
          The security groups the LoadBalancer is a member of (VPC only).
 LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
          The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances.
 LoadBalancerDescription withSubnets(java.util.Collection<java.lang.String> subnets)
          Provides a list of VPC subnet IDs for the LoadBalancer.
 LoadBalancerDescription withSubnets(java.lang.String... subnets)
          Provides a list of VPC subnet IDs for the LoadBalancer.
 LoadBalancerDescription withVPCId(java.lang.String vPCId)
          Provides the ID of the VPC attached to the LoadBalancer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancerDescription

public LoadBalancerDescription()
Default constructor for a new LoadBalancerDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
Specifies the name associated with the LoadBalancer.

Returns:
Specifies the name associated with the LoadBalancer.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.

Parameters:
loadBalancerName - Specifies the name associated with the LoadBalancer.

withLoadBalancerName

public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerName - Specifies the name associated with the LoadBalancer.

getDNSName

public java.lang.String getDNSName()
Specifies the external DNS name associated with the LoadBalancer.

Returns:
Specifies the external DNS name associated with the LoadBalancer.

setDNSName

public void setDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.

Parameters:
dNSName - Specifies the external DNS name associated with the LoadBalancer.

withDNSName

public LoadBalancerDescription withDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dNSName - Specifies the external DNS name associated with the LoadBalancer.

getCanonicalHostedZoneName

public java.lang.String getCanonicalHostedZoneName()
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns:
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

setCanonicalHostedZoneName

public void setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Parameters:
canonicalHostedZoneName - Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

withCanonicalHostedZoneName

public LoadBalancerDescription withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns a reference to this object so that method calls can be chained together.

Parameters:
canonicalHostedZoneName - Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer. For information on how to associate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

getCanonicalHostedZoneNameID

public java.lang.String getCanonicalHostedZoneNameID()
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns:
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

setCanonicalHostedZoneNameID

public void setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Parameters:
canonicalHostedZoneNameID - Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

withCanonicalHostedZoneNameID

public LoadBalancerDescription withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns a reference to this object so that method calls can be chained together.

Parameters:
canonicalHostedZoneNameID - Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. For information on how to associate or disassociate your load balancer with a hosted zone, go to Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

getListenerDescriptions

public java.util.List<ListenerDescription> getListenerDescriptions()
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns:
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

setListenerDescriptions

public void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

withListenerDescriptions

public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

withListenerDescriptions

public LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

getPolicies

public Policies getPolicies()
Provides a list of policies defined for the LoadBalancer.

Returns:
Provides a list of policies defined for the LoadBalancer.

setPolicies

public void setPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.

Parameters:
policies - Provides a list of policies defined for the LoadBalancer.

withPolicies

public LoadBalancerDescription withPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
policies - Provides a list of policies defined for the LoadBalancer.

getBackendServerDescriptions

public java.util.List<BackendServerDescription> getBackendServerDescriptions()
Contains a list of back-end server descriptions.

Returns:
Contains a list of back-end server descriptions.

setBackendServerDescriptions

public void setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.

Parameters:
backendServerDescriptions - Contains a list of back-end server descriptions.

withBackendServerDescriptions

public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Contains a list of back-end server descriptions.

Returns a reference to this object so that method calls can be chained together.

Parameters:
backendServerDescriptions - Contains a list of back-end server descriptions.

withBackendServerDescriptions

public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.

Returns a reference to this object so that method calls can be chained together.

Parameters:
backendServerDescriptions - Contains a list of back-end server descriptions.

getAvailabilityZones

public java.util.List<java.lang.String> getAvailabilityZones()
Specifies a list of Availability Zones.

Returns:
Specifies a list of Availability Zones.

setAvailabilityZones

public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.

Parameters:
availabilityZones - Specifies a list of Availability Zones.

withAvailabilityZones

public LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
Specifies a list of Availability Zones.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - Specifies a list of Availability Zones.

withAvailabilityZones

public LoadBalancerDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - Specifies a list of Availability Zones.

getSubnets

public java.util.List<java.lang.String> getSubnets()
Provides a list of VPC subnet IDs for the LoadBalancer.

Returns:
Provides a list of VPC subnet IDs for the LoadBalancer.

setSubnets

public void setSubnets(java.util.Collection<java.lang.String> subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.

Parameters:
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.

withSubnets

public LoadBalancerDescription withSubnets(java.lang.String... subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.

withSubnets

public LoadBalancerDescription withSubnets(java.util.Collection<java.lang.String> subnets)
Provides a list of VPC subnet IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Provides a list of VPC subnet IDs for the LoadBalancer.

getVPCId

public java.lang.String getVPCId()
Provides the ID of the VPC attached to the LoadBalancer.

Returns:
Provides the ID of the VPC attached to the LoadBalancer.

setVPCId

public void setVPCId(java.lang.String vPCId)
Provides the ID of the VPC attached to the LoadBalancer.

Parameters:
vPCId - Provides the ID of the VPC attached to the LoadBalancer.

withVPCId

public LoadBalancerDescription withVPCId(java.lang.String vPCId)
Provides the ID of the VPC attached to the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vPCId - Provides the ID of the VPC attached to the LoadBalancer.

getInstances

public java.util.List<Instance> getInstances()
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns:
Provides a list of EC2 instance IDs for the LoadBalancer.

setInstances

public void setInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.

withInstances

public LoadBalancerDescription withInstances(Instance... instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.

withInstances

public LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.

getHealthCheck

public HealthCheck getHealthCheck()
Specifies information regarding the various health probes conducted on the LoadBalancer.

Returns:
Specifies information regarding the various health probes conducted on the LoadBalancer.

setHealthCheck

public void setHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on the LoadBalancer.

Parameters:
healthCheck - Specifies information regarding the various health probes conducted on the LoadBalancer.

withHealthCheck

public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
healthCheck - Specifies information regarding the various health probes conducted on the LoadBalancer.

getSourceSecurityGroup

public SourceSecurityGroup getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

Returns:
The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

setSourceSecurityGroup

public void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

Parameters:
sourceSecurityGroup - The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

withSourceSecurityGroup

public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceSecurityGroup - The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

getSecurityGroups

public java.util.List<java.lang.String> getSecurityGroups()
The security groups the LoadBalancer is a member of (VPC only).

Returns:
The security groups the LoadBalancer is a member of (VPC only).

setSecurityGroups

public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups the LoadBalancer is a member of (VPC only).

Parameters:
securityGroups - The security groups the LoadBalancer is a member of (VPC only).

withSecurityGroups

public LoadBalancerDescription withSecurityGroups(java.lang.String... securityGroups)
The security groups the LoadBalancer is a member of (VPC only).

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups - The security groups the LoadBalancer is a member of (VPC only).

withSecurityGroups

public LoadBalancerDescription withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups the LoadBalancer is a member of (VPC only).

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups - The security groups the LoadBalancer is a member of (VPC only).

getCreatedTime

public java.util.Date getCreatedTime()
Provides the date and time the LoadBalancer was created.

Returns:
Provides the date and time the LoadBalancer was created.

setCreatedTime

public void setCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.

Parameters:
createdTime - Provides the date and time the LoadBalancer was created.

withCreatedTime

public LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdTime - Provides the date and time the LoadBalancer was created.

getScheme

public java.lang.String getScheme()
Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

Returns:
Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

setScheme

public void setScheme(java.lang.String scheme)
Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

Parameters:
scheme - Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

withScheme

public LoadBalancerDescription withScheme(java.lang.String scheme)
Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
scheme - Specifies the type of a load balancer. If it is internet-facing, the load balancer has a publicly resolvable DNS name that resolves to public IP addresses. If it is internal, the load balancer has a publicly resolvable DNS name that resolves to private IP addresses. This option is only available for load balancers attached to a VPC.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.