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