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 void setInstancePort(Integer instancePort)
The port on which the back-end server is listening.
instancePort
- The port on which the back-end server is listening.public Integer getInstancePort()
The port on which the back-end server is listening.
public BackendServerDescription withInstancePort(Integer instancePort)
The port on which the back-end server is listening.
instancePort
- The port on which the back-end server is listening.public List<String> getPolicyNames()
The names of the policies enabled for the back-end server.
public void setPolicyNames(Collection<String> policyNames)
The names of the policies enabled for the back-end server.
policyNames
- The names of the policies enabled for the back-end server.public BackendServerDescription withPolicyNames(String... policyNames)
The names of the policies enabled for the back-end server.
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.
policyNames
- The names of the policies enabled for the back-end server.public BackendServerDescription withPolicyNames(Collection<String> policyNames)
The names of the policies enabled for the back-end server.
policyNames
- The names of the policies enabled for the back-end server.public String toString()
toString
in class Object
Object.toString()
public BackendServerDescription clone()
Copyright © 2016. All rights reserved.