@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListClustersRequest() |
Modifier and Type | Method and Description |
---|---|
ListClustersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInclude()
Indicates whether external clusters are included in the returned list.
|
Integer |
getMaxResults()
The maximum number of results, returned in paginated output.
|
String |
getNextToken()
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setInclude(Collection<String> include)
Indicates whether external clusters are included in the returned list.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results, returned in paginated output.
|
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. |
String |
toString()
Returns a string representation of this object.
|
ListClustersRequest |
withInclude(Collection<String> include)
Indicates whether external clusters are included in the returned list.
|
ListClustersRequest |
withInclude(String... include)
Indicates whether external clusters are included in the returned list.
|
ListClustersRequest |
withMaxResults(Integer maxResults)
The maximum number of results, returned in paginated output.
|
ListClustersRequest |
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. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of results, returned in paginated output. You receive maxResults
in a single
page, along with a nextToken
response element. You can see the remaining results of the initial
request by sending another request with the returned nextToken
value. This value can be between 1
and 100. If you don't use this parameter, 100 results and a nextToken
value, if applicable, are
returned.
maxResults
- The maximum number of results, returned in paginated output. You receive maxResults
in a
single page, along with a nextToken
response element. You can see the remaining results of
the initial request by sending another request with the returned nextToken
value. This value
can be between 1 and 100. If you don't use this parameter, 100 results and a nextToken
value,
if applicable, are returned.public Integer getMaxResults()
The maximum number of results, returned in paginated output. You receive maxResults
in a single
page, along with a nextToken
response element. You can see the remaining results of the initial
request by sending another request with the returned nextToken
value. This value can be between 1
and 100. If you don't use this parameter, 100 results and a nextToken
value, if applicable, are
returned.
maxResults
in a
single page, along with a nextToken
response element. You can see the remaining results of
the initial request by sending another request with the returned nextToken
value. This value
can be between 1 and 100. If you don't use this parameter, 100 results and a nextToken
value, if applicable, are returned.public ListClustersRequest withMaxResults(Integer maxResults)
The maximum number of results, returned in paginated output. You receive maxResults
in a single
page, along with a nextToken
response element. You can see the remaining results of the initial
request by sending another request with the returned nextToken
value. This value can be between 1
and 100. If you don't use this parameter, 100 results and a nextToken
value, if applicable, are
returned.
maxResults
- The maximum number of results, returned in paginated output. You receive maxResults
in a
single page, along with a nextToken
response element. You can see the remaining results of
the initial request by sending another request with the returned nextToken
value. This value
can be between 1 and 100. If you don't use this parameter, 100 results and a nextToken
value,
if applicable, are returned.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 ListClustersRequest 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 List<String> getInclude()
Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return
only Amazon EKS clusters. 'all
' must be in lowercase otherwise an error occurs.
all
' to return
https://docs.aws.amazon.com/
eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return only Amazon EKS
clusters. 'all
' must be in lowercase otherwise an error occurs.public void setInclude(Collection<String> include)
Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return
only Amazon EKS clusters. 'all
' must be in lowercase otherwise an error occurs.
include
- Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/
latest/userguide/eks-connector.htmlconnected clusters, or blank to return only Amazon EKS clusters. '
all
' must be in lowercase otherwise an error occurs.public ListClustersRequest withInclude(String... include)
Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return
only Amazon EKS clusters. 'all
' must be in lowercase otherwise an error occurs.
NOTE: This method appends the values to the existing list (if any). Use
setInclude(java.util.Collection)
or withInclude(java.util.Collection)
if you want to override
the existing values.
include
- Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/
latest/userguide/eks-connector.htmlconnected clusters, or blank to return only Amazon EKS clusters. '
all
' must be in lowercase otherwise an error occurs.public ListClustersRequest withInclude(Collection<String> include)
Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return
only Amazon EKS clusters. 'all
' must be in lowercase otherwise an error occurs.
include
- Indicates whether external clusters are included in the returned list. Use 'all
' to return https://docs.aws.amazon.com/eks/
latest/userguide/eks-connector.htmlconnected clusters, or blank to return only Amazon EKS clusters. '
all
' must be in lowercase otherwise an error occurs.public String toString()
toString
in class Object
Object.toString()
public ListClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()