Class ShrinkConfiguration.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ilm.ShrinkConfiguration.Builder
- All Implemented Interfaces:
ObjectBuilder<ShrinkConfiguration>
- Enclosing class:
- ShrinkConfiguration
public static class ShrinkConfiguration.Builder extends ObjectBuilderBase implements ObjectBuilder<ShrinkConfiguration>
Builder for
ShrinkConfiguration
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ShrinkConfiguration
build()
Builds aShrinkConfiguration
.ShrinkConfiguration.Builder
numberOfShards(int value)
Required - API name:number_of_shards
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberOfShards
Required - API name:number_of_shards
-
build
Builds aShrinkConfiguration
.- Specified by:
build
in interfaceObjectBuilder<ShrinkConfiguration>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-