Class SnapshotShardsStatus
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.SnapshotShardsStatus
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SnapshotShardsStatus extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotShardsStatus.BuilderBuilder forSnapshotShardsStatus.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotShardsStatus>_DESERIALIZERJson deserializer forSnapshotShardsStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotShardsStatusof(java.util.function.Function<SnapshotShardsStatus.Builder,ObjectBuilder<SnapshotShardsStatus>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotShardsStatusDeserializer(ObjectDeserializer<SnapshotShardsStatus.Builder> op)ShardsStatsStagestage()Required - API name:stageShardsStatsSummarystats()Required - API name:stats
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SnapshotShardsStatus> _DESERIALIZER
Json deserializer forSnapshotShardsStatus
-
-
Method Detail
-
of
public static SnapshotShardsStatus of(java.util.function.Function<SnapshotShardsStatus.Builder,ObjectBuilder<SnapshotShardsStatus>> fn)
-
stage
public final ShardsStatsStage stage()
Required - API name:stage
-
stats
public final ShardsStatsSummary stats()
Required - API name:stats
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupSnapshotShardsStatusDeserializer
protected static void setupSnapshotShardsStatusDeserializer(ObjectDeserializer<SnapshotShardsStatus.Builder> op)
-
-