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 classIndexAndDataStreamAction.BuilderBuilder forIndexAndDataStreamAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexAndDataStreamAction>_DESERIALIZERJson deserializer forIndexAndDataStreamAction -
Method Summary
Modifier and Type Method Description Action.Kind_actionKind()Action variant kind.java.lang.StringdataStream()Required - API name:data_streamjava.lang.Stringindex()Required - API name:indexstatic IndexAndDataStreamActionof(java.util.function.Function<IndexAndDataStreamAction.Builder,ObjectBuilder<IndexAndDataStreamAction>> 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 voidsetupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)java.lang.StringtoString()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(java.util.function.Function<IndexAndDataStreamAction.Builder,ObjectBuilder<IndexAndDataStreamAction>> fn) -
_actionKind
Action variant kind.- Specified by:
_actionKindin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexAndDataStreamActionDeserializer
protected static void setupIndexAndDataStreamActionDeserializer(ObjectDeserializer<IndexAndDataStreamAction.Builder> op)
-