Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class LoadBalancer

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.LoadBalancer
All Implemented Interfaces:
Serializable

public class LoadBalancer
extends Object
implements Serializable

Describes a LoadBalancer.

See Also:
Serialized Form

Constructor Summary
LoadBalancer()
          Default constructor for a new LoadBalancer object.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of the LoadBalancer.
 int hashCode()
           
 void setName(String name)
          The name of the LoadBalancer.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 LoadBalancer withName(String name)
          The name of the LoadBalancer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancer

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

Method Detail

getName

public String getName()
The name of the LoadBalancer.

Returns:
The name of the LoadBalancer.

setName

public void setName(String name)
The name of the LoadBalancer.

Parameters:
name - The name of the LoadBalancer.

withName

public LoadBalancer withName(String name)
The name of the LoadBalancer.

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

Parameters:
name - The name of the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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