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