Class ParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.rds.ParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ParameterGroupProps>
- Enclosing interface:
ParameterGroupProps
@Stability(Stable)
public static final class ParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ParameterGroupProps>
A builder for
ParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofParameterGroupProps.getDescription()
Sets the value ofParameterGroupProps.getEngine()
Sets the value ofParameterGroupProps.getName()
parameters
(Map<String, String> parameters) Sets the value ofParameterGroupProps.getParameters()
removalPolicy
(RemovalPolicy removalPolicy) Sets the value ofParameterGroupProps.getRemovalPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
engine
Sets the value ofParameterGroupProps.getEngine()
- Parameters:
engine
- The database engine for this parameter group. This parameter is required.- Returns:
this
-
description
Sets the value ofParameterGroupProps.getDescription()
- Parameters:
description
- Description for this parameter group.- Returns:
this
-
name
Sets the value ofParameterGroupProps.getName()
- Parameters:
name
- The name of this parameter group.- Returns:
this
-
parameters
Sets the value ofParameterGroupProps.getParameters()
- Parameters:
parameters
- The parameters in this parameter group.- Returns:
this
-
removalPolicy
Sets the value ofParameterGroupProps.getRemovalPolicy()
- Parameters:
removalPolicy
- The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ParameterGroupProps>
- Returns:
- a new instance of
ParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-