Class CfnDashboard.StringParameterDeclarationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.StringParameterDeclarationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.StringParameterDeclarationProperty>
- Enclosing interface:
CfnDashboard.StringParameterDeclarationProperty
@Stability(Stable)
public static final class CfnDashboard.StringParameterDeclarationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.StringParameterDeclarationProperty>
A builder for
CfnDashboard.StringParameterDeclarationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValues
(IResolvable defaultValues) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getDefaultValues()
defaultValues
(CfnDashboard.StringDefaultValuesProperty defaultValues) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getDefaultValues()
mappedDataSetParameters
(List<? extends Object> mappedDataSetParameters) mappedDataSetParameters
(IResolvable mappedDataSetParameters) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getName()
parameterValueType
(String parameterValueType) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getParameterValueType()
valueWhenUnset
(IResolvable valueWhenUnset) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getValueWhenUnset()
valueWhenUnset
(CfnDashboard.StringValueWhenUnsetConfigurationProperty valueWhenUnset) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getValueWhenUnset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getName()
- Parameters:
name
- The name of the parameter that is being declared. This parameter is required.- Returns:
this
-
parameterValueType
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder parameterValueType(String parameterValueType) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getParameterValueType()
- Parameters:
parameterValueType
- The value type determines whether the parameter is a single-value or multi-value parameter. This parameter is required.- Returns:
this
-
defaultValues
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder defaultValues(IResolvable defaultValues) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getDefaultValues()
- Parameters:
defaultValues
- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.- Returns:
this
-
defaultValues
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder defaultValues(CfnDashboard.StringDefaultValuesProperty defaultValues) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getDefaultValues()
- Parameters:
defaultValues
- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.- Returns:
this
-
mappedDataSetParameters
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder mappedDataSetParameters(IResolvable mappedDataSetParameters) - Parameters:
mappedDataSetParameters
- the value to be set.- Returns:
this
-
mappedDataSetParameters
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder mappedDataSetParameters(List<? extends Object> mappedDataSetParameters) - Parameters:
mappedDataSetParameters
- the value to be set.- Returns:
this
-
valueWhenUnset
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder valueWhenUnset(IResolvable valueWhenUnset) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getValueWhenUnset()
- Parameters:
valueWhenUnset
- The configuration that defines the default value of aString
parameter when a value has not been set.- Returns:
this
-
valueWhenUnset
@Stability(Stable) public CfnDashboard.StringParameterDeclarationProperty.Builder valueWhenUnset(CfnDashboard.StringValueWhenUnsetConfigurationProperty valueWhenUnset) Sets the value ofCfnDashboard.StringParameterDeclarationProperty.getValueWhenUnset()
- Parameters:
valueWhenUnset
- The configuration that defines the default value of aString
parameter when a value has not been set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.StringParameterDeclarationProperty>
- Returns:
- a new instance of
CfnDashboard.StringParameterDeclarationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-