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:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetModelSnapshotsRequest>
Json deserializer forGetModelSnapshotsRequest
Endpoint "ml.get_model_snapshots
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
desc()
Refer to the description for thedesc
query parameter.final Time
end()
Refer to the description for theend
query parameter.final Integer
from()
Skips the specified number of snapshots.final String
jobId()
Required - Identifier for the anomaly detection job.static GetModelSnapshotsRequest
final Page
page()
API name:page
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final Integer
size()
Specifies the maximum number of snapshots to obtain.final String
A numerical character string that uniquely identifies the model snapshot.final String
sort()
Refer to the description for thesort
query parameter.final Time
start()
Refer to the description for thestart
query parameter.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forGetModelSnapshotsRequest
-
_ENDPOINT
public static final Endpoint<GetModelSnapshotsRequest,GetModelSnapshotsResponse, _ENDPOINTErrorResponse> Endpoint "ml.get_model_snapshots
".
-
-
Method Details
-
of
public static GetModelSnapshotsRequest of(Function<GetModelSnapshotsRequest.Builder, ObjectBuilder<GetModelSnapshotsRequest>> fn) -
desc
Refer to the description for thedesc
query parameter.API name:
desc
-
end
Refer to the description for theend
query 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
-
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 thesort
query parameter.API name:
sort
-
start
Refer to the description for thestart
query parameter.API name:
start
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGetModelSnapshotsRequestDeserializer
protected static void setupGetModelSnapshotsRequestDeserializer(ObjectDeserializer<GetModelSnapshotsRequest.Builder> op)
-