Class GetModelSnapshotsRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetModelSnapshotsRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class GetModelSnapshotsRequest extends RequestBase implements JsonpSerializable
Retrieves information about model snapshots.
See Also:
  • Field Details

  • Method Details

    • of

    • desc

      @Nullable public final Boolean desc()
      Refer to the description for the desc query parameter.

      API name: desc

    • end

      @Nullable public final Time end()
      Refer to the description for the end query parameter.

      API name: end

    • from

      @Nullable public final Integer from()
      Skips the specified number of snapshots.

      API name: from

    • jobId

      public final String jobId()
      Required - Identifier for the anomaly detection job.

      API name: job_id

    • page

      @Nullable public final Page page()
      API name: page
    • size

      @Nullable public final Integer size()
      Specifies the maximum number of snapshots to obtain.

      API name: size

    • snapshotId

      @Nullable public final String 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

      @Nullable public final String sort()
      Refer to the description for the sort query parameter.

      API name: sort

    • start

      @Nullable public final Time start()
      Refer to the description for the start query parameter.

      API name: start

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupGetModelSnapshotsRequestDeserializer

      protected static void setupGetModelSnapshotsRequestDeserializer(ObjectDeserializer<GetModelSnapshotsRequest.Builder> op)