Class SnapshotShardsStatus
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotShardsStatus
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SnapshotShardsStatus extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnapshotShardsStatus.Builder
Builder forSnapshotShardsStatus
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotShardsStatus>
_DESERIALIZER
Json deserializer forSnapshotShardsStatus
-
Constructor Summary
Constructors Constructor Description SnapshotShardsStatus(SnapshotShardsStatus.Builder builder)
SnapshotShardsStatus(java.util.function.Function<SnapshotShardsStatus.Builder,SnapshotShardsStatus.Builder> fn)
-
Method Summary
Modifier and Type Method Description 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
setupSnapshotShardsStatusDeserializer(DelegatingDeserializer<SnapshotShardsStatus.Builder> op)
ShardsStatsStage
stage()
Required - API name:stage
ShardsStatsSummary
stats()
Required - API name:stats
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotShardsStatus
-
-
Constructor Details
-
SnapshotShardsStatus
-
SnapshotShardsStatus
public SnapshotShardsStatus(java.util.function.Function<SnapshotShardsStatus.Builder,SnapshotShardsStatus.Builder> fn)
-
-
Method Details
-
stage
Required - API name:stage
-
stats
Required - API name:stats
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotShardsStatusDeserializer
protected static void setupSnapshotShardsStatusDeserializer(DelegatingDeserializer<SnapshotShardsStatus.Builder> op)
-