Class ModifyDataStreamRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ModifyDataStreamRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ModifyDataStreamRequest extends RequestBase implements JsonpSerializable
Modifies a data stream
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModifyDataStreamRequest.BuilderBuilder forModifyDataStreamRequest.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<ModifyDataStreamRequest>_DESERIALIZERJson deserializer forModifyDataStreamRequeststatic Endpoint<ModifyDataStreamRequest,ModifyDataStreamResponse,ErrorResponse>_ENDPOINTEndpoint "indices.modify_data_stream". -
Method Summary
Modifier and Type Method Description java.util.List<Action>actions()Required - Actions to perform.static ModifyDataStreamRequestof(java.util.function.Function<ModifyDataStreamRequest.Builder,ObjectBuilder<ModifyDataStreamRequest>> 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 voidsetupModifyDataStreamRequestDeserializer(ObjectDeserializer<ModifyDataStreamRequest.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 forModifyDataStreamRequest -
_ENDPOINT
public static final Endpoint<ModifyDataStreamRequest,ModifyDataStreamResponse,ErrorResponse> _ENDPOINTEndpoint "indices.modify_data_stream".
-
-
Method Details
-
of
public static ModifyDataStreamRequest of(java.util.function.Function<ModifyDataStreamRequest.Builder,ObjectBuilder<ModifyDataStreamRequest>> fn) -
actions
Required - Actions to perform.API name:
actions -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupModifyDataStreamRequestDeserializer
protected static void setupModifyDataStreamRequestDeserializer(ObjectDeserializer<ModifyDataStreamRequest.Builder> op)
-