Class IndexAndDataStreamAction
java.lang.Object
co.elastic.clients.elasticsearch.indices.modify_data_stream.IndexAndDataStreamAction
- All Implemented Interfaces:
ActionVariant
,JsonpSerializable
@JsonpDeserializable public class IndexAndDataStreamAction extends java.lang.Object implements ActionVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexAndDataStreamAction.Builder
Builder forIndexAndDataStreamAction
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexAndDataStreamAction>
_DESERIALIZER
Json deserializer forIndexAndDataStreamAction
-
Method Summary
Modifier and Type Method Description Action.Kind
_actionKind()
Action variant kind.java.lang.String
dataStream()
Required - API name:data_stream
java.lang.String
index()
Required - API name:index
static IndexAndDataStreamAction
of(java.util.function.Function<IndexAndDataStreamAction.Builder,ObjectBuilder<IndexAndDataStreamAction>> fn)
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
setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
java.lang.String
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(java.util.function.Function<IndexAndDataStreamAction.Builder,ObjectBuilder<IndexAndDataStreamAction>> fn) -
_actionKind
Action variant kind.- Specified by:
_actionKind
in interfaceActionVariant
-
index
public final java.lang.String index()Required - API name:index
-
dataStream
public final java.lang.String dataStream()Required - API name:data_stream
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupIndexAndDataStreamActionDeserializer
protected static void setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
-