Class MoveToStepRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.MoveToStepRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class MoveToStepRequest
extends RequestBase
implements JsonpSerializable
Manually moves an index into the specified step and executes that step.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<MoveToStepRequest>
Json deserializer forMoveToStepRequest
static final Endpoint<MoveToStepRequest,
MoveToStepResponse, ErrorResponse> Endpoint "ilm.move_to_step
". -
Method Summary
Modifier and TypeMethodDescriptionfinal StepKey
API name:current_step
final String
index()
Required - The name of the index whose lifecycle step is to changefinal StepKey
nextStep()
API name:next_step
static MoveToStepRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forMoveToStepRequest
-
_ENDPOINT
Endpoint "ilm.move_to_step
".
-
-
Method Details
-
of
public static MoveToStepRequest of(Function<MoveToStepRequest.Builder, ObjectBuilder<MoveToStepRequest>> fn) -
currentStep
API name:current_step
-
index
Required - The name of the index whose lifecycle step is to changeAPI name:
index
-
nextStep
API name:next_step
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupMoveToStepRequestDeserializer
protected static void setupMoveToStepRequestDeserializer(ObjectDeserializer<MoveToStepRequest.Builder> op)
-