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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetModelSnapshotsRequest.Refer to the description for thedescquery parameter.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.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
descRefer to the description for thedescquery parameter.API name: desc
- 
endRefer to the description for theendquery parameter.API name: end
- 
fromSkips the specified number of snapshots.API name: from
- 
jobIdRequired - Identifier for the anomaly detection job.API name: job_id
- 
pageAPI name:page
- 
pageAPI name:page
- 
sizeSpecifies the maximum number of snapshots to obtain.API name: size
- 
snapshotIdA 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
- 
sortRefer to the description for thesortquery parameter.API name: sort
- 
startRefer to the description for thestartquery parameter.API name: start
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<GetModelSnapshotsRequest.Builder>
 
- 
buildBuilds aGetModelSnapshotsRequest.- Specified by:
- buildin interface- ObjectBuilder<GetModelSnapshotsRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-