public static final class TargetInputTemplate.Builder extends Object
TargetInputTemplate| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TargetInputTemplate |
build()
Builds the configured instance.
|
TargetInputTemplate.Builder |
withJsonTemplate(Object value)
Sets the value of JsonTemplate
|
TargetInputTemplate.Builder |
withPathsMap(Map<String,String> value)
Sets the value of PathsMap
|
TargetInputTemplate.Builder |
withTextTemplate(String value)
Sets the value of TextTemplate
|
public TargetInputTemplate.Builder withJsonTemplate(@Nullable Object value)
value - Input template where you can use the values of the keys from
inputPathsMap to customize the data sent to the target. Enclose each
InputPathsMaps value in brackets: thispublic TargetInputTemplate.Builder withPathsMap(@Nullable Map<String,String> value)
value - Map of JSON paths to be extracted from the event. These are key-value
pairs, where each value is a JSON path. You must use JSON dot notation,
not bracket notation.thispublic TargetInputTemplate.Builder withTextTemplate(@Nullable String value)
value - Input template where you can use the values of the keys from
inputPathsMap to customize the data sent to the target. Enclose each
InputPathsMaps value in brackets: thispublic TargetInputTemplate build()
TargetInputTemplateNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.