public class BackendServerDescription extends Object implements Serializable
This data type is used as a response element in the DescribeLoadBalancers action to describe the configuration of the back-end server.
| Constructor and Description | 
|---|
BackendServerDescription()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
public Integer getInstancePort()
 Constraints:
 Range: 1 - 65535
public void setInstancePort(Integer instancePort)
 Constraints:
 Range: 1 - 65535
instancePort - Provides the port on which the back-end server is listening.public BackendServerDescription withInstancePort(Integer instancePort)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Range: 1 - 65535
instancePort - Provides the port on which the back-end server is listening.public List<String> getPolicyNames()
public void setPolicyNames(Collection<String> policyNames)
policyNames - Provides a list of policy names enabled for the back-end server.public BackendServerDescription withPolicyNames(String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - Provides a list of policy names enabled for the back-end server.public BackendServerDescription withPolicyNames(Collection<String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - Provides a list of policy names enabled for the back-end server.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.