Class BucketInfluencer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BucketInfluencer.Builder>
co.elastic.clients.elasticsearch.ml.BucketInfluencer.Builder
- All Implemented Interfaces:
WithJson<BucketInfluencer.Builder>,ObjectBuilder<BucketInfluencer>
- Enclosing class:
- BucketInfluencer
public static class BucketInfluencer.Builder extends WithJsonObjectBuilderBase<BucketInfluencer.Builder> implements ObjectBuilder<BucketInfluencer>
Builder for
BucketInfluencer.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description BucketInfluencer.BuilderanomalyScore(double value)Required - A normalized score between 0-100, which is calculated for each bucket influencer.BucketInfluencer.BuilderbucketSpan(long value)Required - The length of the bucket in seconds.BucketInfluencerbuild()Builds aBucketInfluencer.BucketInfluencer.BuilderinfluencerFieldName(java.lang.String value)Required - The field name of the influencer.BucketInfluencer.BuilderinitialAnomalyScore(double value)Required - The score between 0-100 for each bucket influencer.BucketInfluencer.BuilderisInterim(boolean value)Required - If true, this is an interim result.BucketInfluencer.BuilderjobId(java.lang.String value)Required - Identifier for the anomaly detection job.BucketInfluencer.Builderprobability(double value)Required - The probability that the bucket has this behavior, in the range 0 to 1.BucketInfluencer.BuilderrawAnomalyScore(double value)Required - Internal.BucketInfluencer.BuilderresultType(java.lang.String value)Required - Internal.protected BucketInfluencer.Builderself()BucketInfluencer.Buildertimestamp(long value)Required - The start time of the bucket for which these results were calculated.BucketInfluencer.BuildertimestampString(DateTime value)The start time of the bucket for which these results were calculated.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyScore
Required - A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as newer data is analyzed.API name:
anomaly_score -
bucketSpan
Required - The length of the bucket in seconds. This value matches the bucket span that is specified in the job.API name:
bucket_span -
influencerFieldName
Required - The field name of the influencer.API name:
influencer_field_name -
initialAnomalyScore
Required - The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the time the bucket was processed.API name:
initial_anomaly_score -
isInterim
Required - If true, this is an interim result. In other words, the results are calculated based on partial input data.API name:
is_interim -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
probability
Required - The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision of over 300 decimal places, so theanomaly_scoreis provided as a human-readable and friendly interpretation of this.API name:
probability -
rawAnomalyScore
Required - Internal.API name:
raw_anomaly_score -
resultType
Required - Internal. This value is always set tobucket_influencer.API name:
result_type -
timestamp
Required - The start time of the bucket for which these results were calculated.API name:
timestamp -
timestampString
The start time of the bucket for which these results were calculated.API name:
timestamp_string -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BucketInfluencer.Builder>
-
build
Builds aBucketInfluencer.- Specified by:
buildin interfaceObjectBuilder<BucketInfluencer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-