Class RerouteProcessor.Builder
- All Implemented Interfaces:
WithJson<RerouteProcessor.Builder>
,ObjectBuilder<RerouteProcessor>
- Enclosing class:
- RerouteProcessor
RerouteProcessor
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRerouteProcessor
.final RerouteProcessor.Builder
Field references or a static value for the dataset part of the data stream name.final RerouteProcessor.Builder
Field references or a static value for the dataset part of the data stream name.final RerouteProcessor.Builder
destination
(String value) A static value for the target.final RerouteProcessor.Builder
Field references or a static value for the namespace part of the data stream name.final RerouteProcessor.Builder
Field references or a static value for the namespace part of the data stream name.protected RerouteProcessor.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tag
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
A static value for the target. Can’t be set when the dataset or namespace option is set.API name:
destination
-
dataset
Field references or a static value for the dataset part of the data stream name. In addition to the criteria for index names, cannot contain - and must be no longer than 100 characters. Example values are nginx.access and nginx.error.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <dataset> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
default {{data_stream.dataset}}
API name:
dataset
Adds all elements of
list
todataset
. -
dataset
Field references or a static value for the dataset part of the data stream name. In addition to the criteria for index names, cannot contain - and must be no longer than 100 characters. Example values are nginx.access and nginx.error.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <dataset> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
default {{data_stream.dataset}}
API name:
dataset
Adds one or more values to
dataset
. -
namespace
Field references or a static value for the namespace part of the data stream name. See the criteria for index names for allowed characters. Must be no longer than 100 characters.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <namespace> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
default {{data_stream.namespace}}
API name:
namespace
Adds all elements of
list
tonamespace
. -
namespace
Field references or a static value for the namespace part of the data stream name. See the criteria for index names for allowed characters. Must be no longer than 100 characters.Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces). When resolving field references, the processor replaces invalid characters with _. Uses the <namespace> part of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
default {{data_stream.namespace}}
API name:
namespace
Adds one or more values to
namespace
. -
self
- Specified by:
self
in classProcessorBase.AbstractBuilder<RerouteProcessor.Builder>
-
build
Builds aRerouteProcessor
.- Specified by:
build
in interfaceObjectBuilder<RerouteProcessor>
- Throws:
NullPointerException
- if some of the required fields are null.
-