com.amazonaws.services.elasticloadbalancing.model
Class BackendServerDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.BackendServerDescription

public class BackendServerDescription
extends Object

This data type is used as a response element in the DescribeLoadBalancers action to describe the configuration of the back-end server.


Constructor Summary
BackendServerDescription()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getInstancePort()
          Provides the port on which the back-end server is listening.
 List<String> getPolicyNames()
          Provides a list of policy names enabled for the back-end server.
 int hashCode()
           
 void setInstancePort(Integer instancePort)
          Provides the port on which the back-end server is listening.
 void setPolicyNames(Collection<String> policyNames)
          Provides a list of policy names enabled for the back-end server.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BackendServerDescription withInstancePort(Integer instancePort)
          Provides the port on which the back-end server is listening.
 BackendServerDescription withPolicyNames(Collection<String> policyNames)
          Provides a list of policy names enabled for the back-end server.
 BackendServerDescription withPolicyNames(String... policyNames)
          Provides a list of policy names enabled for the back-end server.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackendServerDescription

public BackendServerDescription()
Method Detail

getInstancePort

public Integer getInstancePort()
Provides the port on which the back-end server is listening.

Constraints:
Range: 1 - 65535

Returns:
Provides the port on which the back-end server is listening.

setInstancePort

public void setInstancePort(Integer instancePort)
Provides the port on which the back-end server is listening.

Constraints:
Range: 1 - 65535

Parameters:
instancePort - Provides the port on which the back-end server is listening.

withInstancePort

public BackendServerDescription withInstancePort(Integer instancePort)
Provides the port on which the back-end server is listening.

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

Constraints:
Range: 1 - 65535

Parameters:
instancePort - Provides the port on which the back-end server is listening.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyNames

public List<String> getPolicyNames()
Provides a list of policy names enabled for the back-end server.

Returns:
Provides a list of policy names enabled for the back-end server.

setPolicyNames

public void setPolicyNames(Collection<String> policyNames)
Provides a list of policy names enabled for the back-end server.

Parameters:
policyNames - Provides a list of policy names enabled for the back-end server.

withPolicyNames

public BackendServerDescription withPolicyNames(String... policyNames)
Provides a list of policy names enabled for the back-end server.

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

Parameters:
policyNames - Provides a list of policy names enabled for the back-end server.
Returns:
A reference to this updated object so that method calls can be chained together.

withPolicyNames

public BackendServerDescription withPolicyNames(Collection<String> policyNames)
Provides a list of policy names enabled for the back-end server.

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

Parameters:
policyNames - Provides a list of policy names enabled for the back-end server.
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.