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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description StepKey.Builder
action(java.lang.String value)
Required - API name:action
StepKey
build()
Builds aStepKey
.StepKey.Builder
name(java.lang.String value)
Required - API name:name
StepKey.Builder
phase(java.lang.String value)
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Required - API name:action
-
name
Required - 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:
java.lang.NullPointerException
- if some of the required fields are null.
-