Class IndexDetails
- java.lang.Object
-
- org.opensearch.client.opensearch.snapshot.IndexDetails
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@Deprecated @JsonpDeserializable public class IndexDetails extends java.lang.Object implements PlainJsonSerializable
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexDetails.BuilderDeprecated.Builder forIndexDetails.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexDetails>_DESERIALIZERDeprecated.Json deserializer forIndexDetails
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longmaxSegmentsPerShard()Deprecated.Required - API name:max_segments_per_shardstatic IndexDetailsof(java.util.function.Function<IndexDetails.Builder,ObjectBuilder<IndexDetails>> fn)Deprecated.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.protected static voidsetupIndexDetailsDeserializer(ObjectDeserializer<IndexDetails.Builder> op)Deprecated.intshardCount()Deprecated.Required - API name:shard_countjava.lang.Stringsize()Deprecated.API name:sizelongsizeInBytes()Deprecated.Required - API name:size_in_bytes-
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<IndexDetails> _DESERIALIZER
Deprecated.Json deserializer forIndexDetails
-
-
Method Detail
-
of
public static IndexDetails of(java.util.function.Function<IndexDetails.Builder,ObjectBuilder<IndexDetails>> fn)
Deprecated.
-
shardCount
public final int shardCount()
Deprecated.Required - API name:shard_count
-
size
@Nullable public final java.lang.String size()
Deprecated.API name:size
-
sizeInBytes
public final long sizeInBytes()
Deprecated.Required - API name:size_in_bytes
-
maxSegmentsPerShard
public final long maxSegmentsPerShard()
Deprecated.Required - API name:max_segments_per_shard
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Deprecated.
-
setupIndexDetailsDeserializer
protected static void setupIndexDetailsDeserializer(ObjectDeserializer<IndexDetails.Builder> op)
Deprecated.
-
-