@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNodegroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNodegroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListNodegroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
List<String> |
getNodegroups()
A list of all of the node groups associated with the specified cluster.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
void |
setNodegroups(Collection<String> nodegroups)
A list of all of the node groups associated with the specified cluster.
|
String |
toString()
Returns a string representation of this object.
|
ListNodegroupsResult |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
ListNodegroupsResult |
withNodegroups(Collection<String> nodegroups)
A list of all of the node groups associated with the specified cluster.
|
ListNodegroupsResult |
withNodegroups(String... nodegroups)
A list of all of the node groups associated with the specified cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getNodegroups()
A list of all of the node groups associated with the specified cluster.
public void setNodegroups(Collection<String> nodegroups)
A list of all of the node groups associated with the specified cluster.
nodegroups
- A list of all of the node groups associated with the specified cluster.public ListNodegroupsResult withNodegroups(String... nodegroups)
A list of all of the node groups associated with the specified cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodegroups(java.util.Collection)
or withNodegroups(java.util.Collection)
if you want to
override the existing values.
nodegroups
- A list of all of the node groups associated with the specified cluster.public ListNodegroupsResult withNodegroups(Collection<String> nodegroups)
A list of all of the node groups associated with the specified cluster.
nodegroups
- A list of all of the node groups associated with the specified cluster.public void setNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
value returned from a previous paginated request, where
maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value. This value
is null when there are no more results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public ListNodegroupsResult withNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString
in class Object
Object.toString()
public ListNodegroupsResult clone()