Class MoveToStepRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.MoveToStepRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class MoveToStepRequest extends RequestBase implements JsonpSerializable
-
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,ElasticsearchError>ENDPOINTEndpoint "ilm.move_to_step". -
Constructor Summary
Constructors Constructor Description MoveToStepRequest(MoveToStepRequest.Builder builder)MoveToStepRequest(java.util.function.Function<MoveToStepRequest.Builder,MoveToStepRequest.Builder> fn) -
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_stepvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMoveToStepRequestDeserializer(DelegatingDeserializer<MoveToStepRequest.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMoveToStepRequest -
ENDPOINT
Endpoint "ilm.move_to_step".
-
-
Constructor Details
-
MoveToStepRequest
-
MoveToStepRequest
public MoveToStepRequest(java.util.function.Function<MoveToStepRequest.Builder,MoveToStepRequest.Builder> fn)
-
-
Method Details
-
index
public java.lang.String index()Required - The name of the index whose lifecycle step is to changeAPI name:
index -
currentStep
API name:current_step -
nextStep
API name:next_step -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMoveToStepRequestDeserializer
protected static void setupMoveToStepRequestDeserializer(DelegatingDeserializer<MoveToStepRequest.Builder> op)
-