Class CfnDBParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.neptune.CfnDBParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBParameterGroupProps>
- Enclosing interface:
CfnDBParameterGroupProps
@Stability(Stable)
public static final class CfnDBParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBParameterGroupProps>
A builder for
CfnDBParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnDBParameterGroupProps.getDescription()
Sets the value ofCfnDBParameterGroupProps.getFamily()
Sets the value ofCfnDBParameterGroupProps.getName()
parameters
(Object parameters) Sets the value ofCfnDBParameterGroupProps.getParameters()
Sets the value ofCfnDBParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDBParameterGroupProps.getDescription()
- Parameters:
description
- Provides the customer-specified description for this DB parameter group. This parameter is required.- Returns:
this
-
family
Sets the value ofCfnDBParameterGroupProps.getFamily()
- Parameters:
family
- Must beneptune1
for engine versions prior to 1.2.0.0 , orneptune1.2
for engine version1.2.0.0
and higher. This parameter is required.- Returns:
this
-
parameters
Sets the value ofCfnDBParameterGroupProps.getParameters()
- Parameters:
parameters
- The parameters to set for this DB parameter group. This parameter is required. The parameters are expressed as a JSON object consisting of key-value pairs.Changes to dynamic parameters are applied immediately. During an update, if you have static parameters (whether they were changed or not), it triggers AWS CloudFormation to reboot the associated DB instance without failover.
- Returns:
this
-
name
Sets the value ofCfnDBParameterGroupProps.getName()
- Parameters:
name
- Provides the name of the DB parameter group.- Returns:
this
-
tags
Sets the value ofCfnDBParameterGroupProps.getTags()
- Parameters:
tags
- The tags that you want to attach to this parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBParameterGroupProps>
- Returns:
- a new instance of
CfnDBParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-