Class CfnParameterGroup.Builder

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

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

    • create

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

      @Stability(Stable) public CfnParameterGroup.Builder family(String family)
      The name of the parameter group family that this parameter group is compatible with.

      Parameters:
      family - The name of the parameter group family that this parameter group is compatible with. This parameter is required.
      Returns:
      this
    • parameterGroupName

      @Stability(Stable) public CfnParameterGroup.Builder parameterGroupName(String parameterGroupName)
      The name of the parameter group.

      Parameters:
      parameterGroupName - The name of the parameter group. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnParameterGroup.Builder description(String description)
      A description of the parameter group.

      Parameters:
      description - A description of the parameter group. This parameter is required.
      Returns:
      this
    • parameters

      @Stability(Stable) public CfnParameterGroup.Builder parameters(Object parameters)
      Returns the detailed parameter list for the parameter group.

      Parameters:
      parameters - Returns the detailed parameter list for the parameter group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnParameterGroup.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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