Class CfnTemplate.DateTimeDefaultValuesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DateTimeDefaultValuesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DateTimeDefaultValuesProperty>
- Enclosing interface:
CfnTemplate.DateTimeDefaultValuesProperty
@Stability(Stable)
public static final class CfnTemplate.DateTimeDefaultValuesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DateTimeDefaultValuesProperty>
A builder for
CfnTemplate.DateTimeDefaultValuesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dynamicValue
(IResolvable dynamicValue) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getDynamicValue()
dynamicValue
(CfnTemplate.DynamicDefaultValueProperty dynamicValue) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getDynamicValue()
rollingDate
(IResolvable rollingDate) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getRollingDate()
rollingDate
(CfnTemplate.RollingDateConfigurationProperty rollingDate) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getRollingDate()
staticValues
(List<String> staticValues) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getStaticValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dynamicValue
@Stability(Stable) public CfnTemplate.DateTimeDefaultValuesProperty.Builder dynamicValue(IResolvable dynamicValue) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getDynamicValue()
- Parameters:
dynamicValue
- The dynamic value of theDataTimeDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.- Returns:
this
-
dynamicValue
@Stability(Stable) public CfnTemplate.DateTimeDefaultValuesProperty.Builder dynamicValue(CfnTemplate.DynamicDefaultValueProperty dynamicValue) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getDynamicValue()
- Parameters:
dynamicValue
- The dynamic value of theDataTimeDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.- Returns:
this
-
rollingDate
@Stability(Stable) public CfnTemplate.DateTimeDefaultValuesProperty.Builder rollingDate(IResolvable rollingDate) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getRollingDate()
- Parameters:
rollingDate
- The rolling date of theDataTimeDefaultValues
. The date is determined from the dataset based on input expression.- Returns:
this
-
rollingDate
@Stability(Stable) public CfnTemplate.DateTimeDefaultValuesProperty.Builder rollingDate(CfnTemplate.RollingDateConfigurationProperty rollingDate) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getRollingDate()
- Parameters:
rollingDate
- The rolling date of theDataTimeDefaultValues
. The date is determined from the dataset based on input expression.- Returns:
this
-
staticValues
@Stability(Stable) public CfnTemplate.DateTimeDefaultValuesProperty.Builder staticValues(List<String> staticValues) Sets the value ofCfnTemplate.DateTimeDefaultValuesProperty.getStaticValues()
- Parameters:
staticValues
- The static values of theDataTimeDefaultValues
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.DateTimeDefaultValuesProperty>
- Returns:
- a new instance of
CfnTemplate.DateTimeDefaultValuesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-