Class CfnDataSet.StringDatasetParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.StringDatasetParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.StringDatasetParameterProperty>
- Enclosing interface:
CfnDataSet.StringDatasetParameterProperty
@Stability(Stable)
public static final class CfnDataSet.StringDatasetParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.StringDatasetParameterProperty>
A builder for
CfnDataSet.StringDatasetParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValues
(IResolvable defaultValues) Sets the value ofCfnDataSet.StringDatasetParameterProperty.getDefaultValues()
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getDefaultValues()
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getId()
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getName()
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getId()
- Parameters:
id
- An identifier for the string parameter that is created in the dataset. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDataSet.StringDatasetParameterProperty.getName()
- Parameters:
name
- The name of the string parameter that is created in the dataset. This parameter is required.- Returns:
this
-
valueType
@Stability(Stable) public CfnDataSet.StringDatasetParameterProperty.Builder valueType(String valueType) Sets the value ofCfnDataSet.StringDatasetParameterProperty.getValueType()
- Parameters:
valueType
- The value type of the dataset parameter. This parameter is required. Valid values aresingle value
ormulti value
.- Returns:
this
-
defaultValues
@Stability(Stable) public CfnDataSet.StringDatasetParameterProperty.Builder defaultValues(IResolvable defaultValues) Sets the value ofCfnDataSet.StringDatasetParameterProperty.getDefaultValues()
- Parameters:
defaultValues
- A list of default values for a given string dataset parameter type. This structure only accepts static values.- Returns:
this
-
defaultValues
@Stability(Stable) public CfnDataSet.StringDatasetParameterProperty.Builder defaultValues(CfnDataSet.StringDatasetParameterDefaultValuesProperty defaultValues) Sets the value ofCfnDataSet.StringDatasetParameterProperty.getDefaultValues()
- Parameters:
defaultValues
- A list of default values for a given string dataset parameter type. This structure only accepts static values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.StringDatasetParameterProperty>
- Returns:
- a new instance of
CfnDataSet.StringDatasetParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-