Record Class DataStreamFailureStore.Template

java.lang.Object
java.lang.Record
org.elasticsearch.cluster.metadata.DataStreamFailureStore.Template
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject
Enclosing class:
DataStreamFailureStore

public static record DataStreamFailureStore.Template(ResettableValue<Boolean> enabled) extends Record implements Writeable, ToXContentObject
This class is only used in template configuration. It wraps the fields of DataStreamFailureStore with ResettableValue to allow a user to signal when they want to reset any previously encountered values during template composition. Furthermore, it provides the method merge(Template, Template) that dictates how two templates can be composed.