@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMetricSetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ListMetricSetsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListMetricSetsRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAnomalyDetectorArn()
 The ARN of the anomaly detector containing the metrics sets to list. | 
| Integer | getMaxResults()
 The maximum number of results to return. | 
| String | getNextToken()
 If the result of the previous request was truncated, the response includes a  NextToken. | 
| int | hashCode() | 
| void | setAnomalyDetectorArn(String anomalyDetectorArn)
 The ARN of the anomaly detector containing the metrics sets to list. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of results to return. | 
| void | setNextToken(String nextToken)
 If the result of the previous request was truncated, the response includes a  NextToken. | 
| String | toString()Returns a string representation of this object. | 
| ListMetricSetsRequest | withAnomalyDetectorArn(String anomalyDetectorArn)
 The ARN of the anomaly detector containing the metrics sets to list. | 
| ListMetricSetsRequest | withMaxResults(Integer maxResults)
 The maximum number of results to return. | 
| ListMetricSetsRequest | withNextToken(String nextToken)
 If the result of the previous request was truncated, the response includes a  NextToken. | 
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, withSdkRequestTimeoutpublic void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector containing the metrics sets to list.
anomalyDetectorArn - The ARN of the anomaly detector containing the metrics sets to list.public String getAnomalyDetectorArn()
The ARN of the anomaly detector containing the metrics sets to list.
public ListMetricSetsRequest withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector containing the metrics sets to list.
anomalyDetectorArn - The ARN of the anomaly detector containing the metrics sets to list.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public ListMetricSetsRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.public void setNextToken(String nextToken)
 If the result of the previous request was truncated, the response includes a NextToken. To retrieve
 the next set of results, use the token in the next request. Tokens expire after 24 hours.
 
nextToken - If the result of the previous request was truncated, the response includes a NextToken. To
        retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public String getNextToken()
 If the result of the previous request was truncated, the response includes a NextToken. To retrieve
 the next set of results, use the token in the next request. Tokens expire after 24 hours.
 
NextToken. To
         retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public ListMetricSetsRequest withNextToken(String nextToken)
 If the result of the previous request was truncated, the response includes a NextToken. To retrieve
 the next set of results, use the token in the next request. Tokens expire after 24 hours.
 
nextToken - If the result of the previous request was truncated, the response includes a NextToken. To
        retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public String toString()
toString in class ObjectObject.toString()public ListMetricSetsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()