@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNodesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNodesResult() |
Modifier and Type | Method and Description |
---|---|
ListNodesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<NodeSummary> |
getNodes()
An array of
NodeSummary objects that contain configuration properties for each node. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setNodes(Collection<NodeSummary> nodes)
An array of
NodeSummary objects that contain configuration properties for each node. |
String |
toString()
Returns a string representation of this object.
|
ListNodesResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListNodesResult |
withNodes(Collection<NodeSummary> nodes)
An array of
NodeSummary objects that contain configuration properties for each node. |
ListNodesResult |
withNodes(NodeSummary... nodes)
An array of
NodeSummary objects that contain configuration properties for each node. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NodeSummary> getNodes()
An array of NodeSummary
objects that contain configuration properties for each node.
NodeSummary
objects that contain configuration properties for each node.public void setNodes(Collection<NodeSummary> nodes)
An array of NodeSummary
objects that contain configuration properties for each node.
nodes
- An array of NodeSummary
objects that contain configuration properties for each node.public ListNodesResult withNodes(NodeSummary... nodes)
An array of NodeSummary
objects that contain configuration properties for each node.
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
- An array of NodeSummary
objects that contain configuration properties for each node.public ListNodesResult withNodes(Collection<NodeSummary> nodes)
An array of NodeSummary
objects that contain configuration properties for each node.
nodes
- An array of NodeSummary
objects that contain configuration properties for each node.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListNodesResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListNodesResult clone()