Class GetInfluencersRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetInfluencersRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class GetInfluencersRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetInfluencersRequest.BuilderBuilder forGetInfluencersRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetInfluencersRequest>_DESERIALIZERJson deserializer forGetInfluencersRequeststatic Endpoint<GetInfluencersRequest,GetInfluencersResponse,ElasticsearchError>ENDPOINTEndpoint "ml.get_influencers". -
Constructor Summary
Constructors Constructor Description GetInfluencersRequest(GetInfluencersRequest.Builder builder)GetInfluencersRequest(java.util.function.Function<GetInfluencersRequest.Builder,GetInfluencersRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Booleandesc()If true, the results are sorted in descending order.java.lang.Stringend()Returns influencers with timestamps earlier than this time.java.lang.BooleanexcludeInterim()If true, the output excludes interim results.java.lang.Integerfrom()Skips the specified number of influencers.java.lang.DoubleinfluencerScore()Returns influencers with anomaly scores greater than or equal to this value.java.lang.StringjobId()Required - Identifier for the anomaly detection job.Pagepage()API name:pagevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetInfluencersRequestDeserializer(DelegatingDeserializer<GetInfluencersRequest.Builder> op)java.lang.Integersize()Specifies the maximum number of influencers to obtain.java.lang.Stringsort()Specifies the sort field for the requested influencers.java.lang.Stringstart()Returns influencers with timestamps after this time.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetInfluencersRequest -
ENDPOINT
public static final Endpoint<GetInfluencersRequest,GetInfluencersResponse,ElasticsearchError> ENDPOINTEndpoint "ml.get_influencers".
-
-
Constructor Details
-
GetInfluencersRequest
-
GetInfluencersRequest
public GetInfluencersRequest(java.util.function.Function<GetInfluencersRequest.Builder,GetInfluencersRequest.Builder> fn)
-
-
Method Details
-
jobId
public java.lang.String jobId()Required - Identifier for the anomaly detection job.API name:
job_id -
desc
@Nullable public java.lang.Boolean desc()If true, the results are sorted in descending order.API name:
desc -
end
@Nullable public java.lang.String end()Returns influencers with timestamps earlier than this time.API name:
end -
excludeInterim
@Nullable public java.lang.Boolean excludeInterim()If true, the output excludes interim results. By default, interim results are included.API name:
exclude_interim -
influencerScore
@Nullable public java.lang.Double influencerScore()Returns influencers with anomaly scores greater than or equal to this value.API name:
influencer_score -
from
@Nullable public java.lang.Integer from()Skips the specified number of influencers.API name:
from -
size
@Nullable public java.lang.Integer size()Specifies the maximum number of influencers to obtain.API name:
size -
sort
@Nullable public java.lang.String sort()Specifies the sort field for the requested influencers. By default, the influencers are sorted by the influencer_score value.API name:
sort -
start
@Nullable public java.lang.String start()Returns influencers with timestamps after this time.API name:
start -
page
API name:page -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetInfluencersRequestDeserializer
protected static void setupGetInfluencersRequestDeserializer(DelegatingDeserializer<GetInfluencersRequest.Builder> op)
-