Class GetRecordsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetRecordsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetRecordsRequest.Builder
- All Implemented Interfaces:
WithJson<GetRecordsRequest.Builder>,ObjectBuilder<GetRecordsRequest>
- Enclosing class:
- GetRecordsRequest
public static class GetRecordsRequest.Builder
extends RequestBase.AbstractBuilder<GetRecordsRequest.Builder>
implements ObjectBuilder<GetRecordsRequest>
Builder for
GetRecordsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetRecordsRequest.Refer to the description for thedescquery parameter.Refer to the description for theendquery parameter.excludeInterim(Boolean value) Refer to the description for theexclude_interimquery parameter.Skips the specified number of records.Required - Identifier for the anomaly detection job.API name:pageAPI name:pagerecordScore(Double value) Refer to the description for therecord_scorequery parameter.protected GetRecordsRequest.Builderself()Specifies the maximum number of records to obtain.Refer to the description for thesortquery parameter.Refer to the description for thestartquery parameter.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desc
Refer to the description for thedescquery parameter.API name:
desc -
end
Refer to the description for theendquery parameter.API name:
end -
excludeInterim
Refer to the description for theexclude_interimquery parameter.API name:
exclude_interim -
from
Skips the specified number of records.API name:
from -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
page
API name:page -
page
API name:page -
recordScore
Refer to the description for therecord_scorequery parameter.API name:
record_score -
size
Specifies the maximum number of records to obtain.API name:
size -
sort
Refer to the description for thesortquery parameter.API name:
sort -
start
Refer to the description for thestartquery parameter.API name:
start -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetRecordsRequest.Builder>
-
build
Builds aGetRecordsRequest.- Specified by:
buildin interfaceObjectBuilder<GetRecordsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-