Interface AddKeyEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddKeyEntry.Builder,
,AddKeyEntry> SdkBuilder<AddKeyEntry.Builder,
,AddKeyEntry> SdkPojo
- Enclosing class:
AddKeyEntry
@Mutable
@NotThreadSafe
public static interface AddKeyEntry.Builder
extends SdkPojo, CopyableBuilder<AddKeyEntry.Builder,AddKeyEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe key of the new entry to be added to the log eventoverwriteIfExists
(Boolean overwriteIfExists) Specifies whether to overwrite the value if the key already exists in the log event.The value of the new entry to be added to the log eventMethods 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
-
key
The key of the new entry to be added to the log event
- Parameters:
key
- The key of the new entry to be added to the log event- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the new entry to be added to the log event
- Parameters:
value
- The value of the new entry to be added to the log event- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overwriteIfExists
Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is
false
.- Parameters:
overwriteIfExists
- Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-