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