Class GetInfluencersRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetInfluencersRequest
- All Implemented Interfaces:
- JsonpSerializable
@JsonpDeserializable
public class GetInfluencersRequest
extends RequestBase
implements JsonpSerializable
Get anomaly detection job results for influencers. Influencers are the
 entities that have contributed to, or are to blame for, the anomalies.
 Influencer results are available only if an
 
influencer_field_name is specified in the job configuration.- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetInfluencersRequest>Json deserializer forGetInfluencersRequeststatic final Endpoint<GetInfluencersRequest,GetInfluencersResponse, ErrorResponse> Endpoint "ml.get_influencers".
- 
Method SummaryModifier and TypeMethodDescriptionfinal Booleandesc()If true, the results are sorted in descending order.final DateTimeend()Returns influencers with timestamps earlier than this time.final BooleanIf true, the output excludes interim results.final Integerfrom()Skips the specified number of influencers.final DoubleReturns influencers with anomaly scores greater than or equal to this value.final StringjobId()Required - Identifier for the anomaly detection job.static GetInfluencersRequestfinal Pagepage()Configures pagination.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()Specifies the maximum number of influencers to obtain.final Stringsort()Specifies the sort field for the requested influencers.final DateTimestart()Returns influencers with timestamps after this time.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_DESERIALIZERJson deserializer forGetInfluencersRequest
- 
_ENDPOINTEndpoint "ml.get_influencers".
 
- 
- 
Method Details- 
ofpublic static GetInfluencersRequest of(Function<GetInfluencersRequest.Builder, ObjectBuilder<GetInfluencersRequest>> fn) 
- 
descIf true, the results are sorted in descending order.API name: desc
- 
endReturns influencers with timestamps earlier than this time. The default value means it is unset and results are not limited to specific timestamps.API name: end
- 
excludeInterimIf true, the output excludes interim results. By default, interim results are included.API name: exclude_interim
- 
fromSkips the specified number of influencers.API name: from
- 
influencerScoreReturns influencers with anomaly scores greater than or equal to this value.API name: influencer_score
- 
jobIdRequired - Identifier for the anomaly detection job.API name: job_id
- 
pageConfigures pagination. This parameter has thefromandsizeproperties.API name: page
- 
sizeSpecifies the maximum number of influencers to obtain.API name: size
- 
sortSpecifies the sort field for the requested influencers. By default, the influencers are sorted by theinfluencer_scorevalue.API name: sort
- 
startReturns influencers with timestamps after this time. The default value means it is unset and results are not limited to specific timestamps.API name: start
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
setupGetInfluencersRequestDeserializerprotected static void setupGetInfluencersRequestDeserializer(ObjectDeserializer<GetInfluencersRequest.Builder> op) 
 
-