Class CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty>
- Enclosing interface:
CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.commitMode
(String commitMode) displayOptions
(IResolvable displayOptions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commitMode
@Stability(Stable) public CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder commitMode(String commitMode) - Parameters:
commitMode
- The visibility configuration of the Apply button on aRelativeDateTimeControl
.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder displayOptions(IResolvable displayOptions) - Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder displayOptions(CfnDashboard.RelativeDateTimeControlDisplayOptionsProperty displayOptions) - Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-