Class ShardStoreWrapper.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.shard_stores.ShardStoreWrapper.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ShardStoreWrapper>
- Enclosing class:
- ShardStoreWrapper
public static class ShardStoreWrapper.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardStoreWrapper>
Builder forShardStoreWrapper.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardStoreWrapperbuild()Builds aShardStoreWrapper.ShardStoreWrapper.Builderstores(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn)Required - API name:storesShardStoreWrapper.Builderstores(java.util.List<ShardStore> list)Required - API name:storesShardStoreWrapper.Builderstores(ShardStore value, ShardStore... values)Required - API name:stores-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
stores
public final ShardStoreWrapper.Builder stores(java.util.List<ShardStore> list)
Required - API name:storesAdds all elements of
listtostores.
-
stores
public final ShardStoreWrapper.Builder stores(ShardStore value, ShardStore... values)
Required - API name:storesAdds one or more values to
stores.
-
stores
public final ShardStoreWrapper.Builder stores(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn)
Required - API name:storesAdds a value to
storesusing a builder lambda.
-
build
public ShardStoreWrapper build()
Builds aShardStoreWrapper.- Specified by:
buildin interfaceObjectBuilder<ShardStoreWrapper>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-