Class DataStreamLifecycle
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamLifecycle
- All Implemented Interfaces:
JsonpSerializable
Data lifecycle denotes that a data stream is managed by the data stream
lifecycle and contains the configuration.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamLifecycle>
Json deserializer forDataStreamLifecycle
-
Method Summary
Modifier and TypeMethodDescriptionfinal Time
API name:data_retention
API name:downsampling
static DataStreamLifecycle
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 forDataStreamLifecycle
-
-
Method Details
-
of
public static DataStreamLifecycle of(Function<DataStreamLifecycle.Builder, ObjectBuilder<DataStreamLifecycle>> fn) -
dataRetention
API name:data_retention
-
downsampling
API name:downsampling
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamLifecycleDeserializer
protected static void setupDataStreamLifecycleDeserializer(ObjectDeserializer<DataStreamLifecycle.Builder> op)
-