cloudshift.awscdk.dsl.services.quicksight.CfnTemplateNumericalDimensionFieldPropertyDsl.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 software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.quicksight.CfnTemplate
import kotlin.String
/**
* The dimension type field with numerical type columns.
*
* 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.*;
* NumericalDimensionFieldProperty numericalDimensionFieldProperty =
* NumericalDimensionFieldProperty.builder()
* .column(ColumnIdentifierProperty.builder()
* .columnName("columnName")
* .dataSetIdentifier("dataSetIdentifier")
* .build())
* .fieldId("fieldId")
* // the properties below are optional
* .formatConfiguration(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())
* .hierarchyId("hierarchyId")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-numericaldimensionfield.html)
*/
@CdkDslMarker
public class CfnTemplateNumericalDimensionFieldPropertyDsl {
private val cdkBuilder: CfnTemplate.NumericalDimensionFieldProperty.Builder =
CfnTemplate.NumericalDimensionFieldProperty.builder()
/**
* @param column The column that is used in the `NumericalDimensionField` .
*/
public fun column(column: IResolvable) {
cdkBuilder.column(column)
}
/**
* @param column The column that is used in the `NumericalDimensionField` .
*/
public fun column(column: CfnTemplate.ColumnIdentifierProperty) {
cdkBuilder.column(column)
}
/**
* @param fieldId The custom field ID.
*/
public fun fieldId(fieldId: String) {
cdkBuilder.fieldId(fieldId)
}
/**
* @param formatConfiguration The format configuration of the field.
*/
public fun formatConfiguration(formatConfiguration: IResolvable) {
cdkBuilder.formatConfiguration(formatConfiguration)
}
/**
* @param formatConfiguration The format configuration of the field.
*/
public fun formatConfiguration(formatConfiguration: CfnTemplate.NumberFormatConfigurationProperty) {
cdkBuilder.formatConfiguration(formatConfiguration)
}
/**
* @param hierarchyId The custom hierarchy ID.
*/
public fun hierarchyId(hierarchyId: String) {
cdkBuilder.hierarchyId(hierarchyId)
}
public fun build(): CfnTemplate.NumericalDimensionFieldProperty = cdkBuilder.build()
}