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