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 - API name:data_stream
final String
index()
Required - API name:index
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
-
index
Required - API name:index
-
dataStream
Required - API name:data_stream
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIndexAndDataStreamActionDeserializer
protected static void setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
-