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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMoveToStepRequest.BuilderBuilder forMoveToStepRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MoveToStepRequest>_DESERIALIZERJson deserializer forMoveToStepRequeststatic Endpoint<MoveToStepRequest,MoveToStepResponse,ErrorResponse>_ENDPOINTEndpoint "ilm.move_to_step". -
Method Summary
Modifier and Type Method Description StepKeycurrentStep()API name:current_stepjava.lang.Stringindex()Required - The name of the index whose lifecycle step is to changeStepKeynextStep()API name:next_stepstatic MoveToStepRequestof(java.util.function.Function<MoveToStepRequest.Builder,ObjectBuilder<MoveToStepRequest>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMoveToStepRequestDeserializer(ObjectDeserializer<MoveToStepRequest.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMoveToStepRequest -
_ENDPOINT
Endpoint "ilm.move_to_step".
-
-
Method Details
-
of
public static MoveToStepRequest of(java.util.function.Function<MoveToStepRequest.Builder,ObjectBuilder<MoveToStepRequest>> fn) -
currentStep
API name:current_step -
index
public final java.lang.String 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)
-