Class DataStreamLifecycleWithRollover
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamLifecycle
co.elastic.clients.elasticsearch.indices.DataStreamLifecycleWithRollover
- All Implemented Interfaces:
JsonpSerializable
Data stream lifecycle with rollover can be used to display the configuration
including the default rollover conditions, if asked.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.indices.DataStreamLifecycle
DataStreamLifecycle.AbstractBuilder<BuilderT extends DataStreamLifecycle.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamLifecycleWithRollover>Json deserializer forDataStreamLifecycleWithRollover -
Method Summary
Modifier and TypeMethodDescriptionof(Function<DataStreamLifecycleWithRollover.Builder, ObjectBuilder<DataStreamLifecycleWithRollover>> fn) rollover()The conditions which will trigger the rollover of a backing index as configured by the cluster settingcluster.lifecycle.default.rollover.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDataStreamLifecycleWithRolloverDeserializer(ObjectDeserializer<DataStreamLifecycleWithRollover.Builder> op) Methods inherited from class co.elastic.clients.elasticsearch.indices.DataStreamLifecycle
dataRetention, dataStreamLifecycleOf, downsampling, enabled, serialize, setupDataStreamLifecycleDeserializer, toString
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamLifecycleWithRollover
-
-
Method Details
-
of
-
rollover
The conditions which will trigger the rollover of a backing index as configured by the cluster settingcluster.lifecycle.default.rollover. This property is an implementation detail and it will only be retrieved when the query paraminclude_defaultsis set to true. The contents of this field are subject to change.API name:
rollover -
serializeInternal
- Overrides:
serializeInternalin classDataStreamLifecycle
-
setupDataStreamLifecycleWithRolloverDeserializer
protected static void setupDataStreamLifecycleWithRolloverDeserializer(ObjectDeserializer<DataStreamLifecycleWithRollover.Builder> op)
-