Class StepKey.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StepKey.Builder>
co.elastic.clients.elasticsearch.ilm.move_to_step.StepKey.Builder
- All Implemented Interfaces:
WithJson<StepKey.Builder>,ObjectBuilder<StepKey>
- Enclosing class:
- StepKey
public static class StepKey.Builder
extends WithJsonObjectBuilderBase<StepKey.Builder>
implements ObjectBuilder<StepKey>
Builder for
StepKey.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StepKey.BuilderThe optional action to which the index will be moved.build()Builds aStepKey.final StepKey.BuilderThe optional step name to which the index will be moved.final StepKey.BuilderRequired - API name:phaseprotected StepKey.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
-
action
The optional action to which the index will be moved.API name:
action -
name
The optional step name to which the index will be moved.API name:
name -
phase
Required - API name:phase -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StepKey.Builder>
-
build
Builds aStepKey.- Specified by:
buildin interfaceObjectBuilder<StepKey>- Throws:
NullPointerException- if some of the required fields are null.
-