Class GetInfluencersRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetInfluencersRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetInfluencersRequest>
- Enclosing class:
- GetInfluencersRequest
public static class GetInfluencersRequest.Builder extends java.lang.Object implements ObjectBuilder<GetInfluencersRequest>
Builder for
GetInfluencersRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetInfluencersRequestbuild()Builds aGetInfluencersRequest.GetInfluencersRequest.Builderdesc(java.lang.Boolean value)If true, the results are sorted in descending order.GetInfluencersRequest.Builderend(java.lang.String value)Returns influencers with timestamps earlier than this time.GetInfluencersRequest.BuilderexcludeInterim(java.lang.Boolean value)If true, the output excludes interim results.GetInfluencersRequest.Builderfrom(java.lang.Integer value)Skips the specified number of influencers.GetInfluencersRequest.BuilderinfluencerScore(java.lang.Double value)Returns influencers with anomaly scores greater than or equal to this value.GetInfluencersRequest.BuilderjobId(java.lang.String value)Identifier for the anomaly detection job.GetInfluencersRequest.Builderpage(Page value)API name:pageGetInfluencersRequest.Builderpage(java.util.function.Function<Page.Builder,ObjectBuilder<Page>> fn)API name:pageGetInfluencersRequest.Buildersize(java.lang.Integer value)Specifies the maximum number of influencers to obtain.GetInfluencersRequest.Buildersort(java.lang.String value)Specifies the sort field for the requested influencers.GetInfluencersRequest.Builderstart(java.lang.String value)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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobId
Identifier for the anomaly detection job.API name:
job_id -
desc
If true, the results are sorted in descending order.API name:
desc -
end
Returns influencers with timestamps earlier than this time.API name:
end -
excludeInterim
If true, the output excludes interim results. By default, interim results are included.API name:
exclude_interim -
influencerScore
Returns influencers with anomaly scores greater than or equal to this value.API name:
influencer_score -
from
Skips the specified number of influencers.API name:
from -
size
Specifies the maximum number of influencers to obtain.API name:
size -
sort
Specifies the sort field for the requested influencers. By default, the influencers are sorted by the influencer_score value.API name:
sort -
start
Returns influencers with timestamps after this time.API name:
start -
page
API name:page -
page
public GetInfluencersRequest.Builder page(java.util.function.Function<Page.Builder,ObjectBuilder<Page>> fn)API name:page -
build
Builds aGetInfluencersRequest.- Specified by:
buildin interfaceObjectBuilder<GetInfluencersRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-