Class IndexAndDataStreamAction
java.lang.Object
co.elastic.clients.elasticsearch.indices.modify_data_stream.IndexAndDataStreamAction
- All Implemented Interfaces:
ActionVariant,JsonpSerializable
@JsonpDeserializable
public class IndexAndDataStreamAction
extends Object
implements ActionVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexAndDataStreamAction>Json deserializer forIndexAndDataStreamAction -
Method Summary
Modifier and TypeMethodDescriptionAction variant kind.final StringRequired - Data stream targeted by the action.final Stringindex()Required - Index for the action.static IndexAndDataStreamActionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.indices.modify_data_stream.ActionVariant
_toAction
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexAndDataStreamAction
-
-
Method Details
-
of
public static IndexAndDataStreamAction of(Function<IndexAndDataStreamAction.Builder, ObjectBuilder<IndexAndDataStreamAction>> fn) -
_actionKind
Action variant kind.- Specified by:
_actionKindin interfaceActionVariant
-
dataStream
Required - Data stream targeted by the action.API name:
data_stream -
index
Required - Index for the action.API name:
index -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIndexAndDataStreamActionDeserializer
protected static void setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
-