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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSettingsLifecycleStep.protected IndexSettingsLifecycleStep.Builderself()waitTimeThreshold(Time value) Time to wait for the cluster to resolve allocation issues during an ILM shrink action.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, _mapPutAll
-
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(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:
NullPointerException- if some of the required fields are null.
-