@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeClustersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeClustersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getClusterNames()
The names of the DAX clusters being described.
|
Integer |
getMaxResults()
The maximum number of results to include in the response.
|
String |
getNextToken()
An optional token returned from a prior request.
|
int |
hashCode() |
void |
setClusterNames(Collection<String> clusterNames)
The names of the DAX clusters being described.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
An optional token returned from a prior request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeClustersRequest |
withClusterNames(Collection<String> clusterNames)
The names of the DAX clusters being described.
|
DescribeClustersRequest |
withClusterNames(String... clusterNames)
The names of the DAX clusters being described.
|
DescribeClustersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
DescribeClustersRequest |
withNextToken(String nextToken)
An optional token returned from a prior request.
|
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 List<String> getClusterNames()
The names of the DAX clusters being described.
public void setClusterNames(Collection<String> clusterNames)
The names of the DAX clusters being described.
clusterNames
- The names of the DAX clusters being described.public DescribeClustersRequest withClusterNames(String... clusterNames)
The names of the DAX clusters being described.
NOTE: This method appends the values to the existing list (if any). Use
setClusterNames(java.util.Collection)
or withClusterNames(java.util.Collection)
if you want to
override the existing values.
clusterNames
- The names of the DAX clusters being described.public DescribeClustersRequest withClusterNames(Collection<String> clusterNames)
The names of the DAX clusters being described.
clusterNames
- The names of the DAX clusters being described.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
maxResults
- The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public Integer getMaxResults()
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public DescribeClustersRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
maxResults
- The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
The value for MaxResults
must be between 20 and 100.
public void setNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
nextToken
- An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults
.public String getNextToken()
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
MaxResults
.public DescribeClustersRequest withNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults
.
nextToken
- An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults
.public String toString()
toString
in class Object
Object.toString()
public DescribeClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()