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