Class CfnTransformerPropsMixin.CopyValueEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.CopyValueEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.CopyValueEntryProperty>
- Enclosing interface:
CfnTransformerPropsMixin.CopyValueEntryProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.CopyValueEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.CopyValueEntryProperty>
A builder for
CfnTransformerPropsMixin.CopyValueEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getOverwriteIfExists()overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getOverwriteIfExists()Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getSource()Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.CopyValueEntryProperty.Builder overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getOverwriteIfExists()- Parameters:
overwriteIfExists- Specifies whether to overwrite the value if the destination key already exists. If you omit this, the default isfalse.- Returns:
this
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.CopyValueEntryProperty.Builder overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getOverwriteIfExists()- Parameters:
overwriteIfExists- Specifies whether to overwrite the value if the destination key already exists. If you omit this, the default isfalse.- Returns:
this
-
source
@Stability(Stable) public CfnTransformerPropsMixin.CopyValueEntryProperty.Builder source(String source) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getSource()- Parameters:
source- The key to copy.- Returns:
this
-
target
@Stability(Stable) public CfnTransformerPropsMixin.CopyValueEntryProperty.Builder target(String target) Sets the value ofCfnTransformerPropsMixin.CopyValueEntryProperty.getTarget()- Parameters:
target- The key of the field to copy the value to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.CopyValueEntryProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.CopyValueEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-