Class CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.RenameKeyEntryProperty>
- Enclosing interface:
CfnTransformerPropsMixin.RenameKeyEntryProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.RenameKeyEntryProperty>
A builder for
CfnTransformerPropsMixin.RenameKeyEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getKey()overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getOverwriteIfExists()overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getOverwriteIfExists()Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getRenameTo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getKey()- Parameters:
key- The key to rename.- Returns:
this
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder overwriteIfExists(Boolean overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getOverwriteIfExists()- Parameters:
overwriteIfExists- Specifies whether to overwrite the existing value if the destination key already exists. The default isfalse- Returns:
this
-
overwriteIfExists
@Stability(Stable) public CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder overwriteIfExists(IResolvable overwriteIfExists) Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getOverwriteIfExists()- Parameters:
overwriteIfExists- Specifies whether to overwrite the existing value if the destination key already exists. The default isfalse- Returns:
this
-
renameTo
@Stability(Stable) public CfnTransformerPropsMixin.RenameKeyEntryProperty.Builder renameTo(String renameTo) Sets the value ofCfnTransformerPropsMixin.RenameKeyEntryProperty.getRenameTo()- Parameters:
renameTo- The string to use for the new key name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.RenameKeyEntryProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.RenameKeyEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-