Class DataStreamOptions
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamOptions
- All Implemented Interfaces:
JsonpSerializable
Data stream options contain the configuration of data stream level features
for a given data stream, for example, the failure store configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamOptions>
Json deserializer forDataStreamOptions
-
Method Summary
Modifier and TypeMethodDescriptionfinal DataStreamFailureStore
If defined, it specifies configuration for the failure store of this data stream.static DataStreamOptions
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()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamOptions
-
-
Method Details
-
of
public static DataStreamOptions of(Function<DataStreamOptions.Builder, ObjectBuilder<DataStreamOptions>> fn) -
failureStore
If defined, it specifies configuration for the failure store of this data stream.API name:
failure_store
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamOptionsDeserializer
protected static void setupDataStreamOptionsDeserializer(ObjectDeserializer<DataStreamOptions.Builder> op)
-