Class CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DefaultDateTimePickerControlOptionsProperty>
- Enclosing interface:
CfnTemplate.DefaultDateTimePickerControlOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DefaultDateTimePickerControlOptionsProperty>
A builder for
CfnTemplate.DefaultDateTimePickerControlOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.commitMode
(String commitMode) Sets the value ofCfnTemplate.DefaultDateTimePickerControlOptionsProperty.getCommitMode()
displayOptions
(IResolvable displayOptions) Sets the value ofCfnTemplate.DefaultDateTimePickerControlOptionsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commitMode
@Stability(Stable) public CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder commitMode(String commitMode) Sets the value ofCfnTemplate.DefaultDateTimePickerControlOptionsProperty.getCommitMode()
- Parameters:
commitMode
- The visibility configuration of the Apply button on aDateTimePickerControl
.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder displayOptions(IResolvable displayOptions) - Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder displayOptions(CfnTemplate.DateTimePickerControlDisplayOptionsProperty displayOptions) - Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
type
@Stability(Stable) public CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder type(String type) Sets the value ofCfnTemplate.DefaultDateTimePickerControlOptionsProperty.getType()
- Parameters:
type
- The date time picker type of theDefaultDateTimePickerControlOptions
. Choose one of the following options:.SINGLE_VALUED
: The filter condition is a fixed date.DATE_RANGE
: The filter condition is a date time range.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.DefaultDateTimePickerControlOptionsProperty>
- Returns:
- a new instance of
CfnTemplate.DefaultDateTimePickerControlOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-