Interface AddKeyEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AddKeyEntryProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:24.743Z")
@Stability(Stable)
public interface AddKeyEntryProperty
extends software.amazon.jsii.JsiiSerializable
This object defines one key that will be added with the addKeys processor.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;
AddKeyEntryProperty addKeyEntryProperty = AddKeyEntryProperty.builder()
.key("key")
.value("value")
// the properties below are optional
.overwriteIfExists(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAddKeyEntryPropertystatic final classAn implementation forAddKeyEntryProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic AddKeyEntryProperty.Builderbuilder()getKey()The key of the new entry to be added to the log event.default BooleanSpecifies whether to overwrite the value if the key already exists.getValue()The value of the new entry to be added to the log event.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
The key of the new entry to be added to the log event. -
getValue
The value of the new entry to be added to the log event. -
getOverwriteIfExists
Specifies whether to overwrite the value if the key already exists.Default: false
-
builder
- Returns:
- a
AddKeyEntryProperty.BuilderofAddKeyEntryProperty
-