Class CfnDashboard.DecimalParameterDeclarationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DecimalParameterDeclarationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DecimalParameterDeclarationProperty>
- Enclosing interface:
CfnDashboard.DecimalParameterDeclarationProperty
@Stability(Stable)
public static final class CfnDashboard.DecimalParameterDeclarationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DecimalParameterDeclarationProperty>
A builder for
CfnDashboard.DecimalParameterDeclarationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValues
(IResolvable defaultValues) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getDefaultValues()
defaultValues
(CfnDashboard.DecimalDefaultValuesProperty defaultValues) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getDefaultValues()
mappedDataSetParameters
(List<? extends Object> mappedDataSetParameters) mappedDataSetParameters
(IResolvable mappedDataSetParameters) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getName()
parameterValueType
(String parameterValueType) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getParameterValueType()
valueWhenUnset
(IResolvable valueWhenUnset) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getValueWhenUnset()
Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getValueWhenUnset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnDashboard.DecimalParameterDeclarationProperty.Builder name(String name) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getName()
- Parameters:
name
- The name of the parameter that is being declared. This parameter is required.- Returns:
this
-
parameterValueType
@Stability(Stable) public CfnDashboard.DecimalParameterDeclarationProperty.Builder parameterValueType(String parameterValueType) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.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.DecimalParameterDeclarationProperty.Builder defaultValues(IResolvable defaultValues) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.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.DecimalParameterDeclarationProperty.Builder defaultValues(CfnDashboard.DecimalDefaultValuesProperty defaultValues) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.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.DecimalParameterDeclarationProperty.Builder mappedDataSetParameters(IResolvable mappedDataSetParameters) - Parameters:
mappedDataSetParameters
- the value to be set.- Returns:
this
-
mappedDataSetParameters
@Stability(Stable) public CfnDashboard.DecimalParameterDeclarationProperty.Builder mappedDataSetParameters(List<? extends Object> mappedDataSetParameters) - Parameters:
mappedDataSetParameters
- the value to be set.- Returns:
this
-
valueWhenUnset
@Stability(Stable) public CfnDashboard.DecimalParameterDeclarationProperty.Builder valueWhenUnset(IResolvable valueWhenUnset) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getValueWhenUnset()
- Parameters:
valueWhenUnset
- The configuration that defines the default value of aDecimal
parameter when a value has not been set.- Returns:
this
-
valueWhenUnset
@Stability(Stable) public CfnDashboard.DecimalParameterDeclarationProperty.Builder valueWhenUnset(CfnDashboard.DecimalValueWhenUnsetConfigurationProperty valueWhenUnset) Sets the value ofCfnDashboard.DecimalParameterDeclarationProperty.getValueWhenUnset()
- Parameters:
valueWhenUnset
- The configuration that defines the default value of aDecimal
parameter when a value has not been set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DecimalParameterDeclarationProperty>
- Returns:
- a new instance of
CfnDashboard.DecimalParameterDeclarationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-