Class ShardStoreWrapper
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.shard_stores.ShardStoreWrapper
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardStoreWrapper extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardStoreWrapper.BuilderBuilder forShardStoreWrapper.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStoreWrapper>_DESERIALIZERJson deserializer forShardStoreWrapper
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShardStoreWrapperof(java.util.function.Function<ShardStoreWrapper.Builder,ObjectBuilder<ShardStoreWrapper>> 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 voidsetupShardStoreWrapperDeserializer(ObjectDeserializer<ShardStoreWrapper.Builder> op)java.util.List<ShardStore>stores()Required - API name:stores
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShardStoreWrapper> _DESERIALIZER
Json deserializer forShardStoreWrapper
-
-
Method Detail
-
of
public static ShardStoreWrapper of(java.util.function.Function<ShardStoreWrapper.Builder,ObjectBuilder<ShardStoreWrapper>> fn)
-
stores
public final java.util.List<ShardStore> stores()
Required - API name:stores
-
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)
-
setupShardStoreWrapperDeserializer
protected static void setupShardStoreWrapperDeserializer(ObjectDeserializer<ShardStoreWrapper.Builder> op)
-
-