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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MoveToStepRequest>Json deserializer forMoveToStepRequeststatic final Endpoint<MoveToStepRequest,MoveToStepResponse, ErrorResponse> Endpoint "ilm.move_to_step". -
Method Summary
Modifier and TypeMethodDescriptionfinal StepKeyAPI name:current_stepfinal Stringindex()Required - The name of the index whose lifecycle step is to changefinal StepKeynextStep()API name:next_stepstatic MoveToStepRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMoveToStepRequestDeserializer
protected static void setupMoveToStepRequestDeserializer(ObjectDeserializer<MoveToStepRequest.Builder> op)
-