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