Class GetModelSnapshotsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetModelSnapshotsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetModelSnapshotsRequest.Builder
- All Implemented Interfaces:
WithJson<GetModelSnapshotsRequest.Builder>,ObjectBuilder<GetModelSnapshotsRequest>
- Enclosing class:
- GetModelSnapshotsRequest
public static class GetModelSnapshotsRequest.Builder
extends RequestBase.AbstractBuilder<GetModelSnapshotsRequest.Builder>
implements ObjectBuilder<GetModelSnapshotsRequest>
Builder for
GetModelSnapshotsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetModelSnapshotsRequest.Refer to the description for thedescquery parameter.Refer to the description for theendquery parameter.end(Function<Time.Builder, ObjectBuilder<Time>> fn) Refer to the description for theendquery parameter.Skips the specified number of snapshots.Required - Identifier for the anomaly detection job.API name:pageAPI name:pageprotected GetModelSnapshotsRequest.Builderself()Specifies the maximum number of snapshots to obtain.snapshotId(String value) A numerical character string that uniquely identifies the model snapshot.Refer to the description for thesortquery parameter.Refer to the description for thestartquery 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 -
end
Refer to the description for theendquery parameter.API name:
end -
from
Skips the specified number of snapshots.API name:
from -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
page
API name:page -
page
API name:page -
size
Specifies the maximum number of snapshots to obtain.API name:
size -
snapshotId
A numerical character string that uniquely identifies the model snapshot. You can get information for multiple snapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using_all, by specifying*as the snapshot ID, or by omitting the snapshot ID.API name:
snapshot_id -
sort
Refer to the description for thesortquery parameter.API name:
sort -
start
Refer to the description for thestartquery parameter.API name:
start -
start
Refer to the description for thestartquery parameter.API name:
start -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetModelSnapshotsRequest.Builder>
-
build
Builds aGetModelSnapshotsRequest.- Specified by:
buildin interfaceObjectBuilder<GetModelSnapshotsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-