Class ShardStoreWrapper
java.lang.Object
org.opensearch.client.opensearch.indices.shard_stores.ShardStoreWrapper
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardStoreWrapper.Builder,ShardStoreWrapper>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardStoreWrapper
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardStoreWrapper.Builder,ShardStoreWrapper>
The wrapper containing store information for a shard.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardStoreWrapper> Json deserializer forShardStoreWrapper -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardStoreWrapper.Builderbuilder()booleaninthashCode()static ShardStoreWrappervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal List<ShardStore> stores()Required - The list of stores for the 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 forShardStoreWrapper
-
-
Method Details
-
of
public static ShardStoreWrapper of(Function<ShardStoreWrapper.Builder, ObjectBuilder<ShardStoreWrapper>> fn) -
stores
Required - The list of stores for the shard.API name:
stores -
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<ShardStoreWrapper.Builder,ShardStoreWrapper> - Returns:
- a new builder instance.
-
builder
-
setupShardStoreWrapperDeserializer
protected static void setupShardStoreWrapperDeserializer(ObjectDeserializer<ShardStoreWrapper.Builder> op) -
hashCode
public int hashCode() -
equals
-