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 Details

    • create

      @Stability(Stable) public static CfnDBParameterGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDBParameterGroup.Builder.
    • description

      @Stability(Stable) public CfnDBParameterGroup.Builder description(String 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

      @Stability(Stable) public CfnDBParameterGroup.Builder family(String family)
      Must be neptune1 for engine versions prior to 1.2.0.0 , or neptune1.2 for engine version 1.2.0.0 and higher.

      Parameters:
      family - Must be neptune1 for engine versions prior to 1.2.0.0 , or neptune1.2 for engine version 1.2.0.0 and higher. This parameter is required.
      Returns:
      this
    • parameters

      @Stability(Stable) public CfnDBParameterGroup.Builder parameters(Object 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

      @Stability(Stable) public CfnDBParameterGroup.Builder name(String 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

      @Stability(Stable) public CfnDBParameterGroup.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnDBParameterGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDBParameterGroup>
      Returns:
      a newly built instance of CfnDBParameterGroup.