Class DataStreamLifecycle

java.lang.Object
org.elasticsearch.cluster.metadata.DataStreamLifecycle
All Implemented Interfaces:
Diffable<DataStreamLifecycle>, SimpleDiffable<DataStreamLifecycle>, Writeable, ToXContent, ToXContentObject

public class DataStreamLifecycle extends Object implements SimpleDiffable<DataStreamLifecycle>, ToXContentObject
Holds the data stream lifecycle configuration that defines how the data stream indices of a data stream are managed. The lifecycle also has a type that determines the type of index component it can manage. Currently, we support data and failures. Lifecycle supports the following configurations: - enabled, applicable to data and failures - data retention, applicable to data and failures - downsampling, applicable only to data