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.Builder
The optional action to which the index will be moved.build()
Builds aStepKey
.final StepKey.Builder
The optional step name to which the index will be moved.final StepKey.Builder
Required - API name:phase
protected StepKey.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classWithJsonObjectBuilderBase<StepKey.Builder>
-
build
Builds aStepKey
.- Specified by:
build
in interfaceObjectBuilder<StepKey>
- Throws:
NullPointerException
- if some of the required fields are null.
-