com.amazonaws.services.elasticloadbalancing.model
Class BackendServerDescription

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

public class BackendServerDescription
extends java.lang.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(java.lang.Object obj)
           
 java.lang.Integer getInstancePort()
          Provides the port on which the back-end server is listening.
 java.util.List<java.lang.String> getPolicyNames()
          Provides a list of policy names enabled for the back-end server.
 int hashCode()
           
 void setInstancePort(java.lang.Integer instancePort)
          Provides the port on which the back-end server is listening.
 void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
          Provides a list of policy names enabled for the back-end server.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BackendServerDescription withInstancePort(java.lang.Integer instancePort)
          Provides the port on which the back-end server is listening.
 BackendServerDescription withPolicyNames(java.util.Collection<java.lang.String> policyNames)
          Provides a list of policy names enabled for the back-end server.
 BackendServerDescription withPolicyNames(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 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.