Class CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty>
- Enclosing interface:
CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty>
-
Constructor Summary
Constructors -
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 CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder commitMode(String commitMode) Sets the value ofCfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.getCommitMode()- Parameters:
commitMode- The visibility configuration of the Apply button on aRelativeDateTimeControl.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.Builder displayOptions(CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty displayOptions) Sets the value ofCfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
build
@Stability(Stable) public CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.DefaultRelativeDateTimeControlOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-