@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListKxClusterNodesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListKxClusterNodesResult() |
Modifier and Type | Method and Description |
---|---|
ListKxClusterNodesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates where a results page should begin.
|
List<KxNode> |
getNodes()
A list of nodes associated with the cluster.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where a results page should begin.
|
void |
setNodes(Collection<KxNode> nodes)
A list of nodes associated with the cluster.
|
String |
toString()
Returns a string representation of this object.
|
ListKxClusterNodesResult |
withNextToken(String nextToken)
A token that indicates where a results page should begin.
|
ListKxClusterNodesResult |
withNodes(Collection<KxNode> nodes)
A list of nodes associated with the cluster.
|
ListKxClusterNodesResult |
withNodes(KxNode... nodes)
A list of nodes associated with the cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<KxNode> getNodes()
A list of nodes associated with the cluster.
public void setNodes(Collection<KxNode> nodes)
A list of nodes associated with the cluster.
nodes
- A list of nodes associated with the cluster.public ListKxClusterNodesResult withNodes(KxNode... nodes)
A list of nodes associated with the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodes(java.util.Collection)
or withNodes(java.util.Collection)
if you want to override the
existing values.
nodes
- A list of nodes associated with the cluster.public ListKxClusterNodesResult withNodes(Collection<KxNode> nodes)
A list of nodes associated with the cluster.
nodes
- A list of nodes associated with the cluster.public void setNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String getNextToken()
A token that indicates where a results page should begin.
public ListKxClusterNodesResult withNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String toString()
toString
in class Object
Object.toString()
public ListKxClusterNodesResult clone()