Class CfnDBClusterParameterGroup.Builder

java.lang.Object
software.amazon.awscdk.services.neptune.CfnDBClusterParameterGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroup>
Enclosing class:
CfnDBClusterParameterGroup

@Stability(Stable) public static final class CfnDBClusterParameterGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnDBClusterParameterGroup>
A fluent builder for CfnDBClusterParameterGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnDBClusterParameterGroup.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 CfnDBClusterParameterGroup.Builder.
    • description

      @Stability(Stable) public CfnDBClusterParameterGroup.Builder description(String description)
      Provides the customer-specified description for this DB cluster parameter group.

      Parameters:
      description - Provides the customer-specified description for this DB cluster parameter group. This parameter is required.
      Returns:
      this
    • family

      @Stability(Stable) public CfnDBClusterParameterGroup.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 CfnDBClusterParameterGroup.Builder parameters(Object parameters)
      The parameters to set for this DB cluster parameter group.

      The parameters are expressed as a JSON object consisting of key-value pairs.

      If you update the parameters, some interruption may occur depending on which parameters you update.

      Parameters:
      parameters - The parameters to set for this DB cluster parameter group. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnDBClusterParameterGroup.Builder name(String name)
      Provides the name of the DB cluster parameter group.

      Parameters:
      name - Provides the name of the DB cluster parameter group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDBClusterParameterGroup.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 CfnDBClusterParameterGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDBClusterParameterGroup>
      Returns:
      a newly built instance of CfnDBClusterParameterGroup.