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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAnomaliesRequest.BuilderanomalyDetectorArn(String anomalyDetectorArn)Use this to optionally limit the results to only the anomalies found by a certain anomaly detector.ListAnomaliesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListAnomaliesRequest.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListAnomaliesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAnomaliesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListAnomaliesRequest.BuildersuppressionState(String suppressionState)You can specify this parameter if you want to the operation to return only anomalies that are currently either suppressed or unsuppressed.ListAnomaliesRequest.BuildersuppressionState(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 Detail
-
anomalyDetectorArn
ListAnomaliesRequest.Builder anomalyDetectorArn(String 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
ListAnomaliesRequest.Builder 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.
- 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,SuppressionState
-
suppressionState
ListAnomaliesRequest.Builder 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.
- 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,SuppressionState
-
limit
ListAnomaliesRequest.Builder limit(Integer 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
ListAnomaliesRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAnomaliesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-