Class CfnTransformerPropsMixin.AddKeyEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.AddKeyEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.AddKeyEntryProperty>
- Enclosing interface:
CfnTransformerPropsMixin.AddKeyEntryProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.AddKeyEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.AddKeyEntryProperty>
A builder for
CfnTransformerPropsMixin.AddKeyEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getKey()overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getOverwriteIfExists()overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getOverwriteIfExists()Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getKey()- Parameters:
key- The key of the new entry to be added to the log event.- Returns:
this
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.AddKeyEntryProperty.Builder overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getOverwriteIfExists()- 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:
this
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.AddKeyEntryProperty.Builder overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getOverwriteIfExists()- 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:
this
-
value
Sets the value ofCfnTransformerPropsMixin.AddKeyEntryProperty.getValue()- Parameters:
value- The value of the new entry to be added to the log event.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.AddKeyEntryProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.AddKeyEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-