Class GetSnapshotResponse
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.GetSnapshotResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetSnapshotResponse>Json deserializer forGetSnapshotResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic GetSnapshotResponsefinal intRequired - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.final List<SnapshotResponseItem>API name:responsesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal List<SnapshotInfo>API name:snapshotstoString()final inttotal()Required - The total number of snapshots that match the request when ignoring size limit or after query parameter.
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSnapshotResponse
-
-
Method Details
-
of
public static GetSnapshotResponse of(Function<GetSnapshotResponse.Builder, ObjectBuilder<GetSnapshotResponse>> fn) -
responses
API name:responses -
snapshots
API name:snapshots -
total
public final int total()Required - The total number of snapshots that match the request when ignoring size limit or after query parameter.API name:
total -
remaining
public final int remaining()Required - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.API name:
remaining -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSnapshotResponseDeserializer
protected static void setupGetSnapshotResponseDeserializer(ObjectDeserializer<GetSnapshotResponse.Builder> op)
-