Class CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty>
- Enclosing interface:
CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dateTimeFormat(String dateTimeFormat) infoIconLabelOptions(CfnTemplatePropsMixin.SheetControlInfoIconLabelOptionsProperty infoIconLabelOptions) infoIconLabelOptions(IResolvable infoIconLabelOptions) titleOptions(CfnTemplatePropsMixin.LabelOptionsProperty titleOptions) titleOptions(IResolvable titleOptions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimeFormat
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder dateTimeFormat(String dateTimeFormat) Sets the value ofCfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.getDateTimeFormat()- Parameters:
dateTimeFormat- Customize how dates are formatted in controls.- Returns:
this
-
infoIconLabelOptions
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder infoIconLabelOptions(IResolvable infoIconLabelOptions) Sets the value ofCfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.getInfoIconLabelOptions()- Parameters:
infoIconLabelOptions- The configuration of info icon label options.- Returns:
this
-
infoIconLabelOptions
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder infoIconLabelOptions(CfnTemplatePropsMixin.SheetControlInfoIconLabelOptionsProperty infoIconLabelOptions) Sets the value ofCfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.getInfoIconLabelOptions()- Parameters:
infoIconLabelOptions- The configuration of info icon label options.- Returns:
this
-
titleOptions
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder titleOptions(IResolvable titleOptions) Sets the value ofCfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.getTitleOptions()- Parameters:
titleOptions- The options to configure the title visibility, name, and font size.- Returns:
this
-
titleOptions
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.Builder titleOptions(CfnTemplatePropsMixin.LabelOptionsProperty titleOptions) Sets the value ofCfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty.getTitleOptions()- Parameters:
titleOptions- The options to configure the title visibility, name, and font size.- Returns:
this
-
build
@Stability(Stable) public CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.RelativeDateTimeControlDisplayOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-