Class CfnTemplate.DateTimeFormatConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DateTimeFormatConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DateTimeFormatConfigurationProperty>
- Enclosing interface:
CfnTemplate.DateTimeFormatConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.DateTimeFormatConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DateTimeFormatConfigurationProperty>
A builder for
CfnTemplate.DateTimeFormatConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimeFormat
(String dateTimeFormat) Sets the value ofCfnTemplate.DateTimeFormatConfigurationProperty.getDateTimeFormat()
nullValueFormatConfiguration
(IResolvable nullValueFormatConfiguration) nullValueFormatConfiguration
(CfnTemplate.NullValueFormatConfigurationProperty nullValueFormatConfiguration) numericFormatConfiguration
(IResolvable numericFormatConfiguration) numericFormatConfiguration
(CfnTemplate.NumericFormatConfigurationProperty numericFormatConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimeFormat
@Stability(Stable) public CfnTemplate.DateTimeFormatConfigurationProperty.Builder dateTimeFormat(String dateTimeFormat) Sets the value ofCfnTemplate.DateTimeFormatConfigurationProperty.getDateTimeFormat()
- Parameters:
dateTimeFormat
- Determines theDateTime
format.- Returns:
this
-
nullValueFormatConfiguration
@Stability(Stable) public CfnTemplate.DateTimeFormatConfigurationProperty.Builder nullValueFormatConfiguration(IResolvable nullValueFormatConfiguration) - Parameters:
nullValueFormatConfiguration
- The options that determine the null value format configuration.- Returns:
this
-
nullValueFormatConfiguration
@Stability(Stable) public CfnTemplate.DateTimeFormatConfigurationProperty.Builder nullValueFormatConfiguration(CfnTemplate.NullValueFormatConfigurationProperty nullValueFormatConfiguration) - Parameters:
nullValueFormatConfiguration
- The options that determine the null value format configuration.- Returns:
this
-
numericFormatConfiguration
@Stability(Stable) public CfnTemplate.DateTimeFormatConfigurationProperty.Builder numericFormatConfiguration(IResolvable numericFormatConfiguration) - Parameters:
numericFormatConfiguration
- The formatting configuration for numericDateTime
fields.- Returns:
this
-
numericFormatConfiguration
@Stability(Stable) public CfnTemplate.DateTimeFormatConfigurationProperty.Builder numericFormatConfiguration(CfnTemplate.NumericFormatConfigurationProperty numericFormatConfiguration) - Parameters:
numericFormatConfiguration
- The formatting configuration for numericDateTime
fields.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.DateTimeFormatConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.DateTimeFormatConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-