Class ShardStoreWrapper.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStoreWrapper.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardStoreWrapper>
- Enclosing class:
- ShardStoreWrapper
public static class ShardStoreWrapper.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardStoreWrapper>
Builder for
ShardStoreWrapper.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardStoreWrapperbuild()Builds aShardStoreWrapper.ShardStoreWrapper.Builderstores(ShardStore value, ShardStore... values)Required - API name:storesShardStoreWrapper.Builderstores(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn)Required - API name:storesShardStoreWrapper.Builderstores(java.util.List<ShardStore> list)Required - API name:storesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stores
Required - API name:storesAdds all elements of
listtostores. -
stores
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
Builds aShardStoreWrapper.- Specified by:
buildin interfaceObjectBuilder<ShardStoreWrapper>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-