Class IndexSettingsLifecycleStep.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexSettingsLifecycleStep.Builder>
co.elastic.clients.elasticsearch.indices.IndexSettingsLifecycleStep.Builder
- All Implemented Interfaces:
WithJson<IndexSettingsLifecycleStep.Builder>,ObjectBuilder<IndexSettingsLifecycleStep>
- Enclosing class:
- IndexSettingsLifecycleStep
public static class IndexSettingsLifecycleStep.Builder extends WithJsonObjectBuilderBase<IndexSettingsLifecycleStep.Builder> implements ObjectBuilder<IndexSettingsLifecycleStep>
Builder for
IndexSettingsLifecycleStep.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexSettingsLifecycleStepbuild()Builds aIndexSettingsLifecycleStep.protected IndexSettingsLifecycleStep.Builderself()IndexSettingsLifecycleStep.BuilderwaitTimeThreshold(Time value)Time to wait for the cluster to resolve allocation issues during an ILM shrink action.IndexSettingsLifecycleStep.BuilderwaitTimeThreshold(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Time to wait for the cluster to resolve allocation issues during an ILM shrink action.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
waitTimeThreshold
Time to wait for the cluster to resolve allocation issues during an ILM shrink action. Must be greater than 1h (1 hour). See Shard allocation for shrink.API name:
wait_time_threshold -
waitTimeThreshold
public final IndexSettingsLifecycleStep.Builder waitTimeThreshold(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Time to wait for the cluster to resolve allocation issues during an ILM shrink action. Must be greater than 1h (1 hour). See Shard allocation for shrink.API name:
wait_time_threshold -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexSettingsLifecycleStep.Builder>
-
build
Builds aIndexSettingsLifecycleStep.- Specified by:
buildin interfaceObjectBuilder<IndexSettingsLifecycleStep>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-