Interface ParseKeyValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParseKeyValue.Builder,
,ParseKeyValue> SdkBuilder<ParseKeyValue.Builder,
,ParseKeyValue> SdkPojo
- Enclosing class:
ParseKeyValue
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The destination field to put the extracted key-value pairs intofieldDelimiter
(String fieldDelimiter) The field delimiter string that is used between key-value pairs in the original log events.If you want to add a prefix to all transformed keys, specify it here.keyValueDelimiter
(String keyValueDelimiter) The delimiter string to use between the key and value in each pair in the transformed log event.nonMatchValue
(String nonMatchValue) A value to insert into the value field in the result, when a key-value pair is not successfully split.overwriteIfExists
(Boolean overwriteIfExists) Specifies whether to overwrite the value if the destination key already exists.Path to the field in the log event that will be parsed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Path to the field in the log event that will be parsed. Use dot notation to access child fields. For example,
store.book
- Parameters:
source
- Path to the field in the log event that will be parsed. Use dot notation to access child fields. For example,store.book
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The destination field to put the extracted key-value pairs into
- Parameters:
destination
- The destination field to put the extracted key-value pairs into- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDelimiter
The field delimiter string that is used between key-value pairs in the original log events. If you omit this, the ampersand
&
character is used.- Parameters:
fieldDelimiter
- The field delimiter string that is used between key-value pairs in the original log events. If you omit this, the ampersand&
character is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyValueDelimiter
The delimiter string to use between the key and value in each pair in the transformed log event.
If you omit this, the equal
=
character is used.- Parameters:
keyValueDelimiter
- The delimiter string to use between the key and value in each pair in the transformed log event.If you omit this, the equal
=
character is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPrefix
If you want to add a prefix to all transformed keys, specify it here.
- Parameters:
keyPrefix
- If you want to add a prefix to all transformed keys, specify it here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonMatchValue
A value to insert into the value field in the result, when a key-value pair is not successfully split.
- Parameters:
nonMatchValue
- A value to insert into the value field in the result, when a key-value pair is not successfully split.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overwriteIfExists
Specifies whether to overwrite the value if the destination key already exists. If you omit this, the default is
false
.- Parameters:
overwriteIfExists
- Specifies whether to overwrite the value if the destination key already exists. If you omit this, the default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-