Interface ListAnomaliesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<ListAnomaliesRequest.Builder,
,ListAnomaliesRequest> SdkBuilder<ListAnomaliesRequest.Builder,
,ListAnomaliesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAnomaliesRequest
public static interface ListAnomaliesRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<ListAnomaliesRequest.Builder,ListAnomaliesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.The maximum number of items to return.Sets the value of the NextToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.suppressionState
(String suppressionState) You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.suppressionState
(SuppressionState suppressionState) You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
anomalyDetectorArn
Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.
- Parameters:
anomalyDetectorArn
- Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressionState
You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.
- Parameters:
suppressionState
- You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suppressionState
You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.
- Parameters:
suppressionState
- You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limit
The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.
- Parameters:
limit
- The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAnomaliesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListAnomaliesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-