Class CfnClusterParameterGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnClusterParameterGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterParameterGroupMixinProps>
- Enclosing interface:
CfnClusterParameterGroupMixinProps
@Stability(Stable)
public static final class CfnClusterParameterGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterParameterGroupMixinProps>
A builder for
CfnClusterParameterGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnClusterParameterGroupMixinProps.getDescription()parameterGroupFamily(String parameterGroupFamily) Sets the value ofCfnClusterParameterGroupMixinProps.getParameterGroupFamily()parameterGroupName(String parameterGroupName) Sets the value ofCfnClusterParameterGroupMixinProps.getParameterGroupName()parameters(List<? extends Object> parameters) Sets the value ofCfnClusterParameterGroupMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnClusterParameterGroupMixinProps.getParameters()Sets the value ofCfnClusterParameterGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnClusterParameterGroupMixinProps.Builder description(String description) Sets the value ofCfnClusterParameterGroupMixinProps.getDescription()- Parameters:
description- The description of the parameter group.- Returns:
this
-
parameterGroupFamily
@Stability(Stable) public CfnClusterParameterGroupMixinProps.Builder parameterGroupFamily(String parameterGroupFamily) Sets the value ofCfnClusterParameterGroupMixinProps.getParameterGroupFamily()- Parameters:
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 .- Returns:
this
-
parameterGroupName
@Stability(Stable) public CfnClusterParameterGroupMixinProps.Builder parameterGroupName(String parameterGroupName) Sets the value ofCfnClusterParameterGroupMixinProps.getParameterGroupName()- Parameters:
parameterGroupName- The name of the cluster parameter group.- Returns:
this
-
parameters
@Stability(Stable) public CfnClusterParameterGroupMixinProps.Builder parameters(IResolvable parameters) Sets the value ofCfnClusterParameterGroupMixinProps.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 CfnClusterParameterGroupMixinProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnClusterParameterGroupMixinProps.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
@Stability(Stable) public CfnClusterParameterGroupMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnClusterParameterGroupMixinProps.getTags()- Parameters:
tags- The list of tags for the cluster parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterParameterGroupMixinProps>- Returns:
- a new instance of
CfnClusterParameterGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-