public class BackendServerDescription extends Object implements Serializable, Cloneable
Information about the configuration of a back-end server.
| Constructor and Description | 
|---|
| BackendServerDescription() | 
| Modifier and Type | Method and Description | 
|---|---|
| BackendServerDescription | clone() | 
| boolean | equals(Object obj) | 
| Integer | getInstancePort()The port on which the back-end server is listening. | 
| List<String> | getPolicyNames()The names of the policies enabled for the back-end server. | 
| int | hashCode() | 
| void | setInstancePort(Integer instancePort)The port on which the back-end server is listening. | 
| void | setPolicyNames(Collection<String> policyNames)The names of the policies enabled for the back-end server. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| BackendServerDescription | withInstancePort(Integer instancePort)The port on which the back-end server is listening. | 
| BackendServerDescription | withPolicyNames(Collection<String> policyNames)The names of the policies enabled for the back-end server. | 
| BackendServerDescription | withPolicyNames(String... policyNames)The names of the policies enabled for the back-end server. | 
public Integer getInstancePort()
 Constraints:
 Range: 1 - 65535
public void setInstancePort(Integer instancePort)
 Constraints:
 Range: 1 - 65535
instancePort - 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 - The port on which the back-end server is listening.public List<String> getPolicyNames()
public void setPolicyNames(Collection<String> policyNames)
policyNames - The names of the policies enabled for the back-end server.public BackendServerDescription withPolicyNames(String... policyNames)
 NOTE: This method appends the values to the existing list (if
 any). Use setPolicyNames(java.util.Collection) or withPolicyNames(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
policyNames - The names of the policies 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 - The names of the policies enabled for the back-end server.public String toString()
toString in class ObjectObject.toString()public BackendServerDescription clone()
Copyright © 2015. All rights reserved.