@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAnomalyDetectorsRequest extends CloudWatchRequest implements ToCopyableBuilder<DescribeAnomalyDetectorsRequest.Builder,DescribeAnomalyDetectorsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAnomalyDetectorsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeAnomalyDetectorsRequest.Builder |
builder() |
List<Dimension> |
dimensions()
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Returns true if the Dimensions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return in one operation.
|
String |
metricName()
Limits the results to only the anomaly detection models that are associated with the specified metric name.
|
String |
namespace()
Limits the results to only the anomaly detection models that are associated with the specified namespace.
|
String |
nextToken()
Use the token returned by the previous operation to request the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAnomalyDetectorsRequest.Builder> |
serializableBuilderClass() |
DescribeAnomalyDetectorsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String nextToken()
Use the token returned by the previous operation to request the next page of results.
public 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.
To retrieve the remaining results, make another call with the returned NextToken value.
public String namespace()
Limits the results to only the anomaly detection models that are associated with the specified namespace.
public 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.
public boolean hasDimensions()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensions() to see if a value was sent in this field.
public DescribeAnomalyDetectorsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAnomalyDetectorsRequest.Builder,DescribeAnomalyDetectorsRequest>toBuilder in class CloudWatchRequestpublic static DescribeAnomalyDetectorsRequest.Builder builder()
public static Class<? extends DescribeAnomalyDetectorsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.