cloudshift.awscdk.dsl.services.quicksight.CfnTemplateColumnConfigurationPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.quicksight.CfnTemplate
/**
* The general configuration of a column.
*
* Example:
*
* ```
* // The code below shows an example of how to instantiate this type.
* // The values are placeholders you should change.
* import software.amazon.awscdk.services.quicksight.*;
* ColumnConfigurationProperty columnConfigurationProperty = ColumnConfigurationProperty.builder()
* .column(ColumnIdentifierProperty.builder()
* .columnName("columnName")
* .dataSetIdentifier("dataSetIdentifier")
* .build())
* // the properties below are optional
* .formatConfiguration(FormatConfigurationProperty.builder()
* .dateTimeFormatConfiguration(DateTimeFormatConfigurationProperty.builder()
* .dateTimeFormat("dateTimeFormat")
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numericFormatConfiguration(NumericFormatConfigurationProperty.builder()
* .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .symbol("symbol")
* .build())
* .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .build())
* .build())
* .numberFormatConfiguration(NumberFormatConfigurationProperty.builder()
* .formatConfiguration(NumericFormatConfigurationProperty.builder()
* .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .symbol("symbol")
* .build())
* .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .build())
* .build())
* .stringFormatConfiguration(StringFormatConfigurationProperty.builder()
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numericFormatConfiguration(NumericFormatConfigurationProperty.builder()
* .currencyDisplayFormatConfiguration(CurrencyDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .symbol("symbol")
* .build())
* .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .numberScale("numberScale")
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder()
* .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
* .decimalPlaces(123)
* .build())
* .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
* .displayMode("displayMode")
* .build())
* .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
* .nullString("nullString")
* .build())
* .prefix("prefix")
* .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
* .decimalSeparator("decimalSeparator")
* .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
* .symbol("symbol")
* .visibility("visibility")
* .build())
* .build())
* .suffix("suffix")
* .build())
* .build())
* .build())
* .build())
* .role("role")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-columnconfiguration.html)
*/
@CdkDslMarker
public class CfnTemplateColumnConfigurationPropertyDsl {
private val cdkBuilder: CfnTemplate.ColumnConfigurationProperty.Builder =
CfnTemplate.ColumnConfigurationProperty.builder()
/**
* @param column The column.
*/
public fun column(column: IResolvable) {
cdkBuilder.column(column)
}
/**
* @param column The column.
*/
public fun column(column: CfnTemplate.ColumnIdentifierProperty) {
cdkBuilder.column(column)
}
/**
* @param formatConfiguration The format configuration of a column.
*/
public fun formatConfiguration(formatConfiguration: IResolvable) {
cdkBuilder.formatConfiguration(formatConfiguration)
}
/**
* @param formatConfiguration The format configuration of a column.
*/
public fun formatConfiguration(formatConfiguration: CfnTemplate.FormatConfigurationProperty) {
cdkBuilder.formatConfiguration(formatConfiguration)
}
/**
* @param role The role of the column.
*/
public fun role(role: String) {
cdkBuilder.role(role)
}
public fun build(): CfnTemplate.ColumnConfigurationProperty = cdkBuilder.build()
}