Class IndicesShardStores
java.lang.Object
org.opensearch.client.opensearch.indices.shard_stores.IndicesShardStores
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndicesShardStores.Builder,IndicesShardStores>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndicesShardStores
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndicesShardStores.Builder,IndicesShardStores>
The shard store information for indices.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndicesShardStores> Json deserializer forIndicesShardStores -
Method Summary
Modifier and TypeMethodDescriptionstatic IndicesShardStores.Builderbuilder()booleaninthashCode()static IndicesShardStoresvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Map<String, ShardStoreWrapper> shards()Required - The store information for each shard.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIndicesShardStores
-
-
Method Details
-
of
public static IndicesShardStores of(Function<IndicesShardStores.Builder, ObjectBuilder<IndicesShardStores>> fn) -
shards
Required - The store information for each shard.API name:
shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndicesShardStores.Builder,IndicesShardStores> - Returns:
- a new builder instance.
-
builder
-
setupIndicesShardStoresDeserializer
protected static void setupIndicesShardStoresDeserializer(ObjectDeserializer<IndicesShardStores.Builder> op) -
hashCode
public int hashCode() -
equals
-