public class BackendServerDescription
extends java.lang.Object
implements java.io.Serializable
Information about the configuration of a back-end server.
Constructor and Description |
---|
BackendServerDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getInstancePort()
The port on which the back-end server is listening.
|
java.util.List<java.lang.String> |
getPolicyNames()
The names of the policies enabled for the back-end server.
|
int |
hashCode() |
void |
setInstancePort(java.lang.Integer instancePort)
The port on which the back-end server is listening.
|
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies 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)
The port on which the back-end server is listening.
|
BackendServerDescription |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
The names of the policies enabled for the back-end server.
|
BackendServerDescription |
withPolicyNames(java.lang.String... policyNames)
The names of the policies enabled for the back-end server.
|
public java.lang.Integer getInstancePort()
The port on which the back-end server is listening.
Constraints:
Range: 1 - 65535
The port on which the back-end server is listening.
public void setInstancePort(java.lang.Integer instancePort)
The port on which the back-end server is listening.
Constraints:
Range: 1 - 65535
instancePort
- The port on which the back-end server is listening.
public BackendServerDescription withInstancePort(java.lang.Integer instancePort)
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
instancePort
- The port on which the back-end server is listening.
public java.util.List<java.lang.String> getPolicyNames()
The names of the policies enabled for the back-end server.
The names of the policies enabled for the back-end server.
public void setPolicyNames(java.util.Collection<java.lang.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(java.lang.String... policyNames)
The names of the policies enabled for the back-end server.
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(java.util.Collection<java.lang.String> policyNames)
The names of the policies enabled for the back-end server.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.