Class CfnClusterParameterGroup.Builder

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

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

    • create

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

      @Stability(Stable) public CfnClusterParameterGroup.Builder description(String description)
      The description of the parameter group.

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

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

      You can create a custom parameter group and then associate your cluster with it. For more information, see Amazon Redshift parameter groups .

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

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

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

      @Stability(Stable) public CfnClusterParameterGroup.Builder parameters(IResolvable parameters)
      An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.

      For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.

      For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.

      Parameters:
      parameters - An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. This parameter is required.
      Returns:
      this
    • parameters

      @Stability(Stable) public CfnClusterParameterGroup.Builder parameters(List<? extends Object> parameters)
      An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.

      For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.

      For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.

      Parameters:
      parameters - An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnClusterParameterGroup.Builder tags(List<? extends CfnTag> tags)
      The list of tags for the cluster parameter group.

      Parameters:
      tags - The list of tags for the cluster parameter group. This parameter is required.
      Returns:
      this
    • build

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