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 Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the parameter group.parameterGroupFamily
(String parameterGroupFamily) The name of the cluster parameter group family that this cluster parameter group is compatible with.parameterGroupName
(String parameterGroupName) The name of the cluster parameter group.parameters
(List<? extends Object> parameters) An array of parameters to be modified.parameters
(IResolvable parameters) An array of parameters to be modified.The list of tags for the cluster parameter group.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterParameterGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnClusterParameterGroup.Builder
.
-
description
The description of the parameter group.- Parameters:
description
- The description of the parameter group. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterParameterGroup>
- Returns:
- a newly built instance of
CfnClusterParameterGroup
.
-