Interface AddKeyEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AddKeyEntryProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:17.186Z")
@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 class
A builder forAddKeyEntryProperty
static final class
An implementation forAddKeyEntryProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic AddKeyEntryProperty.Builder
builder()
getKey()
The key of the new entry to be added to the log event.default Boolean
Specifies 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.Builder
ofAddKeyEntryProperty
-