Interface RandomCutForestConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RandomCutForestConfiguration.Builder,,RandomCutForestConfiguration> SdkBuilder<RandomCutForestConfiguration.Builder,,RandomCutForestConfiguration> SdkPojo
- Enclosing class:
RandomCutForestConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionignoreNearExpectedFromAbove(Consumer<IgnoreNearExpected.Builder> ignoreNearExpectedFromAbove) Configuration for ignoring values that are near expected values from above during anomaly detection.ignoreNearExpectedFromAbove(IgnoreNearExpected ignoreNearExpectedFromAbove) Configuration for ignoring values that are near expected values from above during anomaly detection.ignoreNearExpectedFromBelow(Consumer<IgnoreNearExpected.Builder> ignoreNearExpectedFromBelow) Configuration for ignoring values that are near expected values from below during anomaly detection.ignoreNearExpectedFromBelow(IgnoreNearExpected ignoreNearExpectedFromBelow) Configuration for ignoring values that are near expected values from below during anomaly detection.The Prometheus query used to retrieve the time-series data for anomaly detection.sampleSize(Integer sampleSize) The number of data points sampled from the input stream for the Random Cut Forest algorithm.shingleSize(Integer shingleSize) The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
query
The Prometheus query used to retrieve the time-series data for anomaly detection.
Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see Aggregation operators on the Prometheus docs website.
Supported PromQL aggregation operators:
avg,count,group,max,min,quantile,stddev,stdvar, andsum.- Parameters:
query- The Prometheus query used to retrieve the time-series data for anomaly detection.Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see Aggregation operators on the Prometheus docs website.
Supported PromQL aggregation operators:
avg,count,group,max,min,quantile,stddev,stdvar, andsum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shingleSize
The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.
- Parameters:
shingleSize- The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.
- Parameters:
sampleSize- The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignoreNearExpectedFromAbove
RandomCutForestConfiguration.Builder ignoreNearExpectedFromAbove(IgnoreNearExpected ignoreNearExpectedFromAbove) Configuration for ignoring values that are near expected values from above during anomaly detection.
- Parameters:
ignoreNearExpectedFromAbove- Configuration for ignoring values that are near expected values from above during anomaly detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignoreNearExpectedFromAbove
default RandomCutForestConfiguration.Builder ignoreNearExpectedFromAbove(Consumer<IgnoreNearExpected.Builder> ignoreNearExpectedFromAbove) Configuration for ignoring values that are near expected values from above during anomaly detection.
This is a convenience method that creates an instance of theIgnoreNearExpected.Builderavoiding the need to create one manually viaIgnoreNearExpected.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toignoreNearExpectedFromAbove(IgnoreNearExpected).- Parameters:
ignoreNearExpectedFromAbove- a consumer that will call methods onIgnoreNearExpected.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ignoreNearExpectedFromBelow
RandomCutForestConfiguration.Builder ignoreNearExpectedFromBelow(IgnoreNearExpected ignoreNearExpectedFromBelow) Configuration for ignoring values that are near expected values from below during anomaly detection.
- Parameters:
ignoreNearExpectedFromBelow- Configuration for ignoring values that are near expected values from below during anomaly detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignoreNearExpectedFromBelow
default RandomCutForestConfiguration.Builder ignoreNearExpectedFromBelow(Consumer<IgnoreNearExpected.Builder> ignoreNearExpectedFromBelow) Configuration for ignoring values that are near expected values from below during anomaly detection.
This is a convenience method that creates an instance of theIgnoreNearExpected.Builderavoiding the need to create one manually viaIgnoreNearExpected.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toignoreNearExpectedFromBelow(IgnoreNearExpected).- Parameters:
ignoreNearExpectedFromBelow- a consumer that will call methods onIgnoreNearExpected.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-