@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) |
String |
getClusterName()
The name of the cluster
|
Integer |
getMaxResults()
The maximum number of records to include in the response.
|
String |
getNextToken()
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
Boolean |
getShowShardDetails()
An optional flag that can be included in the request to retrieve information about the individual shard(s).
|
int |
hashCode() |
Boolean |
isShowShardDetails()
An optional flag that can be included in the request to retrieve information about the individual shard(s).
|
void |
setClusterName(String clusterName)
The name of the cluster
|
void |
setMaxResults(Integer maxResults)
The maximum number of records to include in the response.
|
void |
setNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
void |
setShowShardDetails(Boolean showShardDetails)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
|
String |
toString()
Returns a string representation of this object.
|
DescribeClustersRequest |
withClusterName(String clusterName)
The name of the cluster
|
DescribeClustersRequest |
withMaxResults(Integer maxResults)
The maximum number of records to include in the response.
|
DescribeClustersRequest |
withNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
DescribeClustersRequest |
withShowShardDetails(Boolean showShardDetails)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
|
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 setClusterName(String clusterName)
The name of the cluster
clusterName
- The name of the clusterpublic String getClusterName()
The name of the cluster
public DescribeClustersRequest withClusterName(String clusterName)
The name of the cluster
clusterName
- The name of the clusterpublic void setMaxResults(Integer maxResults)
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
maxResults
- The maximum number of records to include in the response. If more records exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be retrieved.public Integer getMaxResults()
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
public DescribeClustersRequest withMaxResults(Integer maxResults)
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
maxResults
- The maximum number of records to include in the response. If more records exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be retrieved.public void setNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
nextToken
- An optional argument to pass in case the total number of records exceeds the value of MaxResults. If
nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page. Keep all
other arguments unchanged.public String getNextToken()
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
public DescribeClustersRequest withNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
nextToken
- An optional argument to pass in case the total number of records exceeds the value of MaxResults. If
nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page. Keep all
other arguments unchanged.public void setShowShardDetails(Boolean showShardDetails)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
showShardDetails
- An optional flag that can be included in the request to retrieve information about the individual
shard(s).public Boolean getShowShardDetails()
An optional flag that can be included in the request to retrieve information about the individual shard(s).
public DescribeClustersRequest withShowShardDetails(Boolean showShardDetails)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
showShardDetails
- An optional flag that can be included in the request to retrieve information about the individual
shard(s).public Boolean isShowShardDetails()
An optional flag that can be included in the request to retrieve information about the individual shard(s).
public String toString()
toString
in class Object
Object.toString()
public DescribeClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()