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 DataStreamFailureStoreIf defined, it specifies configuration for the failure store of this data stream.static DataStreamOptionsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamOptionsDeserializer
protected static void setupDataStreamOptionsDeserializer(ObjectDeserializer<DataStreamOptions.Builder> op)
-