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