Class CfnClusterParameterGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnClusterParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterParameterGroupProps>
- Enclosing interface:
CfnClusterParameterGroupProps
@Stability(Stable)
public static final class CfnClusterParameterGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterParameterGroupProps>
A builder for
CfnClusterParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnClusterParameterGroupProps.getDescription()
parameterGroupFamily
(String parameterGroupFamily) Sets the value ofCfnClusterParameterGroupProps.getParameterGroupFamily()
parameterGroupName
(String parameterGroupName) Sets the value ofCfnClusterParameterGroupProps.getParameterGroupName()
parameters
(List<? extends Object> parameters) Sets the value ofCfnClusterParameterGroupProps.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnClusterParameterGroupProps.getParameters()
Sets the value ofCfnClusterParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnClusterParameterGroupProps.getDescription()
- Parameters:
description
- The description of the parameter group. This parameter is required.- Returns:
this
-
parameterGroupFamily
@Stability(Stable) public CfnClusterParameterGroupProps.Builder parameterGroupFamily(String parameterGroupFamily) Sets the value ofCfnClusterParameterGroupProps.getParameterGroupFamily()
- Parameters:
parameterGroupFamily
- The name of the cluster parameter group family that this cluster parameter group is compatible with. This parameter is required. You can create a custom parameter group and then associate your cluster with it. For more information, see Amazon Redshift parameter groups .- Returns:
this
-
parameterGroupName
@Stability(Stable) public CfnClusterParameterGroupProps.Builder parameterGroupName(String parameterGroupName) Sets the value ofCfnClusterParameterGroupProps.getParameterGroupName()
- Parameters:
parameterGroupName
- The name of the cluster parameter group.- Returns:
this
-
parameters
Sets the value ofCfnClusterParameterGroupProps.getParameters()
- Parameters:
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.
- Returns:
this
-
parameters
@Stability(Stable) public CfnClusterParameterGroupProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnClusterParameterGroupProps.getParameters()
- Parameters:
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.
- Returns:
this
-
tags
Sets the value ofCfnClusterParameterGroupProps.getTags()
- Parameters:
tags
- The list of tags for the cluster parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterParameterGroupProps>
- Returns:
- a new instance of
CfnClusterParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-