Class MoveToStepRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<MoveToStepRequest.Builder>
co.elastic.clients.elasticsearch.ilm.MoveToStepRequest.Builder
- All Implemented Interfaces:
WithJson<MoveToStepRequest.Builder>,ObjectBuilder<MoveToStepRequest>
- Enclosing class:
- MoveToStepRequest
public static class MoveToStepRequest.Builder
extends RequestBase.AbstractBuilder<MoveToStepRequest.Builder>
implements ObjectBuilder<MoveToStepRequest>
Builder for
MoveToStepRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMoveToStepRequest.currentStep(StepKey value) Required - The step that the index is expected to be in.Required - The step that the index is expected to be in.Required - The name of the index whose lifecycle step is to changeRequired - The step that you want to run.Required - The step that you want to run.protected MoveToStepRequest.Builderself()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
-
currentStep
Required - The step that the index is expected to be in.API name:
current_step -
currentStep
public final MoveToStepRequest.Builder currentStep(Function<StepKey.Builder, ObjectBuilder<StepKey>> fn) Required - The step that the index is expected to be in.API name:
current_step -
index
Required - The name of the index whose lifecycle step is to changeAPI name:
index -
nextStep
Required - The step that you want to run.API name:
next_step -
nextStep
public final MoveToStepRequest.Builder nextStep(Function<StepKey.Builder, ObjectBuilder<StepKey>> fn) Required - The step that you want to run.API name:
next_step -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<MoveToStepRequest.Builder>
-
build
Builds aMoveToStepRequest.- Specified by:
buildin interfaceObjectBuilder<MoveToStepRequest>- Throws:
NullPointerException- if some of the required fields are null.
-