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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexAndDataStreamAction>
Json deserializer forIndexAndDataStreamAction
-
Method Summary
Modifier and TypeMethodDescriptionAction variant kind.final String
Required - Data stream targeted by the action.final String
index()
Required - Index for the action.static IndexAndDataStreamAction
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_actionKind
in 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIndexAndDataStreamActionDeserializer
protected static void setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
-