Class SnapshotIndexStats
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.SnapshotIndexStats
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class SnapshotIndexStats extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnapshotIndexStats.Builder
Builder forSnapshotIndexStats
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotIndexStats>
_DESERIALIZER
Json deserializer forSnapshotIndexStats
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotIndexStats
of(java.util.function.Function<SnapshotIndexStats.Builder,ObjectBuilder<SnapshotIndexStats>> 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
setupSnapshotIndexStatsDeserializer(ObjectDeserializer<SnapshotIndexStats.Builder> op)
java.util.Map<java.lang.String,SnapshotShardsStatus>
shards()
Required - API name:shards
ShardsStats
shardsStats()
Required - API name:shards_stats
SnapshotStats
stats()
Required - API name:stats
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SnapshotIndexStats> _DESERIALIZER
Json deserializer forSnapshotIndexStats
-
-
Method Detail
-
of
public static SnapshotIndexStats of(java.util.function.Function<SnapshotIndexStats.Builder,ObjectBuilder<SnapshotIndexStats>> fn)
-
shards
public final java.util.Map<java.lang.String,SnapshotShardsStatus> shards()
Required - API name:shards
-
shardsStats
public final ShardsStats shardsStats()
Required - API name:shards_stats
-
stats
public final SnapshotStats stats()
Required - API name:stats
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupSnapshotIndexStatsDeserializer
protected static void setupSnapshotIndexStatsDeserializer(ObjectDeserializer<SnapshotIndexStats.Builder> op)
-
-