Class CfnDBParameterGroup.Builder
java.lang.Object
software.amazon.awscdk.services.neptune.CfnDBParameterGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBParameterGroup>
- Enclosing class:
CfnDBParameterGroup
@Stability(Stable)
public static final class CfnDBParameterGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBParameterGroup>
A fluent builder for
CfnDBParameterGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDBParameterGroup.Builder
description
(String description) Provides the customer-specified description for this DB parameter group.Must beneptune1
for engine versions prior to 1.2.0.0 , orneptune1.2
for engine version1.2.0.0
and higher.Provides the name of the DB parameter group.parameters
(Object parameters) The parameters to set for this DB parameter group.The tags that you want to attach to this parameter group.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDBParameterGroup.Builder
.
-
description
Provides the customer-specified description for this DB parameter group.- Parameters:
description
- Provides the customer-specified description for this DB parameter group. This parameter is required.- Returns:
this
-
family
Must beneptune1
for engine versions prior to 1.2.0.0 , orneptune1.2
for engine version1.2.0.0
and higher.- 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
The parameters to set for this DB parameter group.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.
- Parameters:
parameters
- The parameters to set for this DB parameter group. This parameter is required.- Returns:
this
-
name
Provides the name of the DB parameter group.- Parameters:
name
- Provides the name of the DB parameter group. This parameter is required.- Returns:
this
-
tags
The tags that you want to attach to this parameter group.- Parameters:
tags
- The tags that you want to attach to this parameter group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBParameterGroup>
- Returns:
- a newly built instance of
CfnDBParameterGroup
.
-