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 TypeMethodDescriptionfinal Stringnext()If the request contained a size limit and there might be more results, anextfield will be added to the response.static GetSnapshotResponsefinal intRequired - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using thenextfield 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 the size limit orafterquery parameter.
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSnapshotResponse
-
-
Method Details
-
of
public static GetSnapshotResponse of(Function<GetSnapshotResponse.Builder, ObjectBuilder<GetSnapshotResponse>> fn) -
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 thenextfield value.API name:
remaining -
total
public final int total()Required - The total number of snapshots that match the request when ignoring the size limit orafterquery parameter.API name:
total -
next
If the request contained a size limit and there might be more results, anextfield will be added to the response. It can be used as theafterquery parameter to fetch additional results.API name:
next -
responses
API name:responses -
snapshots
API name:snapshots -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSnapshotResponseDeserializer
protected static void setupGetSnapshotResponseDeserializer(ObjectDeserializer<GetSnapshotResponse.Builder> op)
-