Class IndicesShardStores.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.shard_stores.IndicesShardStores.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndicesShardStores>
- Enclosing class:
- IndicesShardStores
public static class IndicesShardStores.Builder extends ObjectBuilderBase implements ObjectBuilder<IndicesShardStores>
Builder forIndicesShardStores.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndicesShardStoresbuild()Builds aIndicesShardStores.IndicesShardStores.Buildershards(java.lang.String key, java.util.function.Function<ShardStoreWrapper.Builder,ObjectBuilder<ShardStoreWrapper>> fn)Required - API name:shardsIndicesShardStores.Buildershards(java.lang.String key, ShardStoreWrapper value)Required - API name:shardsIndicesShardStores.Buildershards(java.util.Map<java.lang.String,ShardStoreWrapper> map)Required - API name:shards-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
shards
public final IndicesShardStores.Builder shards(java.util.Map<java.lang.String,ShardStoreWrapper> map)
Required - API name:shardsAdds all entries of
maptoshards.
-
shards
public final IndicesShardStores.Builder shards(java.lang.String key, ShardStoreWrapper value)
Required - API name:shardsAdds an entry to
shards.
-
shards
public final IndicesShardStores.Builder shards(java.lang.String key, java.util.function.Function<ShardStoreWrapper.Builder,ObjectBuilder<ShardStoreWrapper>> fn)
Required - API name:shardsAdds an entry to
shardsusing a builder lambda.
-
build
public IndicesShardStores build()
Builds aIndicesShardStores.- Specified by:
buildin interfaceObjectBuilder<IndicesShardStores>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-