Class CfnWorkgroup.ConfigParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup.ConfigParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkgroup.ConfigParameterProperty>
- Enclosing interface:
CfnWorkgroup.ConfigParameterProperty
@Stability(Stable)
public static final class CfnWorkgroup.ConfigParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkgroup.ConfigParameterProperty>
A builder for
CfnWorkgroup.ConfigParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parameterKey
(String parameterKey) Sets the value ofCfnWorkgroup.ConfigParameterProperty.getParameterKey()
parameterValue
(String parameterValue) Sets the value ofCfnWorkgroup.ConfigParameterProperty.getParameterValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterKey
@Stability(Stable) public CfnWorkgroup.ConfigParameterProperty.Builder parameterKey(String parameterKey) Sets the value ofCfnWorkgroup.ConfigParameterProperty.getParameterKey()
- Parameters:
parameterKey
- The key of the parameter. The options aredatestyle
,enable_user_activity_logging
,query_group
,search_path
,max_query_execution_time
, andrequire_ssl
.- Returns:
this
-
parameterValue
@Stability(Stable) public CfnWorkgroup.ConfigParameterProperty.Builder parameterValue(String parameterValue) Sets the value ofCfnWorkgroup.ConfigParameterProperty.getParameterValue()
- Parameters:
parameterValue
- The value of the parameter to set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkgroup.ConfigParameterProperty>
- Returns:
- a new instance of
CfnWorkgroup.ConfigParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-