Class RandomCutForestConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RandomCutForestConfiguration.Builder,RandomCutForestConfiguration>
Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IgnoreNearExpectedConfiguration for ignoring values that are near expected values from above during anomaly detection.final IgnoreNearExpectedConfiguration for ignoring values that are near expected values from below during anomaly detection.final Stringquery()The Prometheus query used to retrieve the time-series data for anomaly detection.final IntegerThe number of data points sampled from the input stream for the Random Cut Forest algorithm.static Class<? extends RandomCutForestConfiguration.Builder> final IntegerThe number of consecutive data points used to create a shingle for the Random Cut Forest algorithm.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.- Returns:
- 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.
-
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:
- 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.
-
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:
- The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.
-
ignoreNearExpectedFromAbove
Configuration for ignoring values that are near expected values from above during anomaly detection.
- Returns:
- Configuration for ignoring values that are near expected values from above during anomaly detection.
-
ignoreNearExpectedFromBelow
Configuration for ignoring values that are near expected values from below during anomaly detection.
- Returns:
- Configuration for ignoring values that are near expected values from below during anomaly detection.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RandomCutForestConfiguration.Builder,RandomCutForestConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-