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