Module org.elasticsearch.server
Class DataStreamOptions.Builder
java.lang.Object
org.elasticsearch.cluster.metadata.DataStreamOptions.Builder
- Enclosing class:
DataStreamOptions
Builds and composes the data stream options or the respective template.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder
(DataStreamOptions options) Builder
(DataStreamOptions.Template template) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Composes this builder with the values of the provided template.failureStore
(ResettableValue<DataStreamFailureStore.Template> newFailureStore) Composes the current failure store configuration with the provided value.
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
composeTemplate
Composes this builder with the values of the provided template. This is not a replacement necessarily, the inner values will be merged. -
failureStore
public DataStreamOptions.Builder failureStore(ResettableValue<DataStreamFailureStore.Template> newFailureStore) Composes the current failure store configuration with the provided value. This is not a replacement necessarily, if both instance contain data the configurations are merged. -
buildTemplate
-
build
-