@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 to include in a future ListNodegroups request. |
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 to include in a future ListNodegroups request. |
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 to include in a future ListNodegroups request. |
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 to include in a future ListNodegroups
request. When the results of
a ListNodegroups
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListNodegroups
request. When the
results of a ListNodegroups
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to
return.public String getNextToken()
The nextToken
value to include in a future ListNodegroups
request. When the results of
a ListNodegroups
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListNodegroups
request. When the
results of a ListNodegroups
request exceed maxResults
, you can use this value
to retrieve the next page of results. This value is null
when there are no more results to
return.public ListNodegroupsResult withNextToken(String nextToken)
The nextToken
value to include in a future ListNodegroups
request. When the results of
a ListNodegroups
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListNodegroups
request. When the
results of a ListNodegroups
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to
return.public String toString()
toString
in class Object
Object.toString()
public ListNodegroupsResult clone()