Class BucketInfluencer.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.BucketInfluencer.Builder
- All Implemented Interfaces:
ObjectBuilder<BucketInfluencer>
- Enclosing class:
- BucketInfluencer
public static class BucketInfluencer.Builder extends java.lang.Object implements ObjectBuilder<BucketInfluencer>
Builder for
BucketInfluencer.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description BucketInfluencer.BuilderbucketSpan(long value)The length of the bucket in seconds.BucketInfluencerbuild()Builds aBucketInfluencer.BucketInfluencer.Builderfoo(java.lang.String value)API name:fooBucketInfluencer.BuilderinfluencerFieldName(java.lang.String value)The field name of the influencer.BucketInfluencer.BuilderinfluencerFieldValue(java.lang.String value)The entity that influenced, contributed to, or was to blame for the anomaly.BucketInfluencer.BuilderinfluencerScore(double value)A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated across detectors.BucketInfluencer.BuilderinitialInfluencerScore(double value)A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.BucketInfluencer.BuilderisInterim(boolean value)If true, this is an interim result.BucketInfluencer.BuilderjobId(java.lang.String value)Identifier for the anomaly detection job.BucketInfluencer.Builderprobability(double value)The probability that the influencer has this behavior, in the range 0 to 1.BucketInfluencer.BuilderresultType(java.lang.String value)Internal.BucketInfluencer.Buildertimestamp(java.lang.String value)The start time of the bucket for which these results were calculated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketSpan
The length of the bucket in seconds. This value matches the bucket_span that is specified in the job.API name:
bucket_span -
influencerScore
A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated across detectors. Unlike initial_influencer_score, this value will be updated by a re-normalization process as new data is analyzed.API name:
influencer_score -
influencerFieldName
The field name of the influencer.API name:
influencer_field_name -
influencerFieldValue
The entity that influenced, contributed to, or was to blame for the anomaly.API name:
influencer_field_value -
initialInfluencerScore
A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors. This is the initial value that was calculated at the time the bucket was processed.API name:
initial_influencer_score -
isInterim
If true, this is an interim result. In other words, the results are calculated based on partial input data.API name:
is_interim -
jobId
Identifier for the anomaly detection job.API name:
job_id -
probability
The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high precision of over 300 decimal places, so the influencer_score is provided as a human-readable and friendly interpretation of this.API name:
probability -
resultType
Internal. This value is always set to influencer.API name:
result_type -
timestamp
The start time of the bucket for which these results were calculated.API name:
timestamp -
foo
API name:foo -
build
Builds aBucketInfluencer.- Specified by:
buildin interfaceObjectBuilder<BucketInfluencer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-