@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAnomalyDetectorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAnomalyDetectorsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAnomalyDetectorsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAnomalyDetectorTypes()
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput . |
List<Dimension> |
getDimensions()
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.
|
Integer |
getMaxResults()
The maximum number of results to return in one operation.
|
String |
getMetricName()
Limits the results to only the anomaly detection models that are associated with the specified metric name.
|
String |
getNamespace()
Limits the results to only the anomaly detection models that are associated with the specified namespace.
|
String |
getNextToken()
Use the token returned by the previous operation to request the next page of results.
|
int |
hashCode() |
void |
setAnomalyDetectorTypes(Collection<String> anomalyDetectorTypes)
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput . |
void |
setDimensions(Collection<Dimension> dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in one operation.
|
void |
setMetricName(String metricName)
Limits the results to only the anomaly detection models that are associated with the specified metric name.
|
void |
setNamespace(String namespace)
Limits the results to only the anomaly detection models that are associated with the specified namespace.
|
void |
setNextToken(String nextToken)
Use the token returned by the previous operation to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAnomalyDetectorsRequest |
withAnomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes)
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput . |
DescribeAnomalyDetectorsRequest |
withAnomalyDetectorTypes(Collection<String> anomalyDetectorTypes)
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput . |
DescribeAnomalyDetectorsRequest |
withAnomalyDetectorTypes(String... anomalyDetectorTypes)
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput . |
DescribeAnomalyDetectorsRequest |
withDimensions(Collection<Dimension> dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.
|
DescribeAnomalyDetectorsRequest |
withDimensions(Dimension... dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.
|
DescribeAnomalyDetectorsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in one operation.
|
DescribeAnomalyDetectorsRequest |
withMetricName(String metricName)
Limits the results to only the anomaly detection models that are associated with the specified metric name.
|
DescribeAnomalyDetectorsRequest |
withNamespace(String namespace)
Limits the results to only the anomaly detection models that are associated with the specified namespace.
|
DescribeAnomalyDetectorsRequest |
withNextToken(String nextToken)
Use the token returned by the previous operation to request the next page of results.
|
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 setNextToken(String nextToken)
Use the token returned by the previous operation to request the next page of results.
nextToken
- Use the token returned by the previous operation to request the next page of results.public String getNextToken()
Use the token returned by the previous operation to request the next page of results.
public DescribeAnomalyDetectorsRequest withNextToken(String nextToken)
Use the token returned by the previous operation to request the next page of results.
nextToken
- Use the token returned by the previous operation to request the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return in one operation. The maximum value that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in one operation. The maximum value that you can specify is
100.
To retrieve the remaining results, make another call with the returned NextToken
value.
public Integer getMaxResults()
The maximum number of results to return in one operation. The maximum value that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken
value.
To retrieve the remaining results, make another call with the returned NextToken
value.
public DescribeAnomalyDetectorsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in one operation. The maximum value that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in one operation. The maximum value that you can specify is
100.
To retrieve the remaining results, make another call with the returned NextToken
value.
public void setNamespace(String namespace)
Limits the results to only the anomaly detection models that are associated with the specified namespace.
namespace
- Limits the results to only the anomaly detection models that are associated with the specified namespace.public String getNamespace()
Limits the results to only the anomaly detection models that are associated with the specified namespace.
public DescribeAnomalyDetectorsRequest withNamespace(String namespace)
Limits the results to only the anomaly detection models that are associated with the specified namespace.
namespace
- Limits the results to only the anomaly detection models that are associated with the specified namespace.public void setMetricName(String metricName)
Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
metricName
- Limits the results to only the anomaly detection models that are associated with the specified metric
name. If there are multiple metrics with this name in different namespaces that have anomaly detection
models, they're all returned.public String getMetricName()
Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
public DescribeAnomalyDetectorsRequest withMetricName(String metricName)
Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
metricName
- Limits the results to only the anomaly detection models that are associated with the specified metric
name. If there are multiple metrics with this name in different namespaces that have anomaly detection
models, they're all returned.public List<Dimension> getDimensions()
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
public void setDimensions(Collection<Dimension> dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
dimensions
- Limits the results to only the anomaly detection models that are associated with the specified metric
dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models
associated, they're all returned.public DescribeAnomalyDetectorsRequest withDimensions(Dimension... dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- Limits the results to only the anomaly detection models that are associated with the specified metric
dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models
associated, they're all returned.public DescribeAnomalyDetectorsRequest withDimensions(Collection<Dimension> dimensions)
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
dimensions
- Limits the results to only the anomaly detection models that are associated with the specified metric
dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models
associated, they're all returned.public List<String> getAnomalyDetectorTypes()
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults
to SINGLE_METRIC
.
DescribeAnomalyDetectorsInput
. If empty,
defaults to SINGLE_METRIC
.AnomalyDetectorType
public void setAnomalyDetectorTypes(Collection<String> anomalyDetectorTypes)
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults
to SINGLE_METRIC
.
anomalyDetectorTypes
- The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty,
defaults to SINGLE_METRIC
.AnomalyDetectorType
public DescribeAnomalyDetectorsRequest withAnomalyDetectorTypes(String... anomalyDetectorTypes)
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults
to SINGLE_METRIC
.
NOTE: This method appends the values to the existing list (if any). Use
setAnomalyDetectorTypes(java.util.Collection)
or withAnomalyDetectorTypes(java.util.Collection)
if you want to override the existing values.
anomalyDetectorTypes
- The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty,
defaults to SINGLE_METRIC
.AnomalyDetectorType
public DescribeAnomalyDetectorsRequest withAnomalyDetectorTypes(Collection<String> anomalyDetectorTypes)
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults
to SINGLE_METRIC
.
anomalyDetectorTypes
- The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty,
defaults to SINGLE_METRIC
.AnomalyDetectorType
public DescribeAnomalyDetectorsRequest withAnomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes)
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults
to SINGLE_METRIC
.
anomalyDetectorTypes
- The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty,
defaults to SINGLE_METRIC
.AnomalyDetectorType
public String toString()
toString
in class Object
Object.toString()
public DescribeAnomalyDetectorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()