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