Class IndexSettingsLifecycleStep.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexSettingsLifecycleStep.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexSettingsLifecycleStep.Builder,,IndexSettingsLifecycleStep> MutableBuilder<IndexSettingsLifecycleStep.Builder,,IndexSettingsLifecycleStep> ObjectBuilder<IndexSettingsLifecycleStep>
- Enclosing class:
IndexSettingsLifecycleStep
public static class IndexSettingsLifecycleStep.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexSettingsLifecycleStep.Builder,IndexSettingsLifecycleStep>
Builder for
IndexSettingsLifecycleStep.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSettingsLifecycleStep.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:wait_time_thresholdwaitTimeThreshold(Time value) API name:wait_time_thresholdMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexSettingsLifecycleStep.Builder,IndexSettingsLifecycleStep> - Returns:
- a new builder instance.
-
waitTimeThreshold
API name:wait_time_threshold -
waitTimeThreshold
@Nonnull public final IndexSettingsLifecycleStep.Builder waitTimeThreshold(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:wait_time_threshold -
build
Builds aIndexSettingsLifecycleStep.- Specified by:
buildin interfaceObjectBuilder<IndexSettingsLifecycleStep>- Throws:
NullPointerException- if some of the required fields are null.
-