Interface CfnTemplate.MeasureFieldProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.MeasureFieldProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.MeasureFieldProperty
extends software.amazon.jsii.JsiiSerializable
The measure (metric) type field.
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.*; MeasureFieldProperty measureFieldProperty = MeasureFieldProperty.builder() .calculatedMeasureField(CalculatedMeasureFieldProperty.builder() .expression("expression") .fieldId("fieldId") .build()) .categoricalMeasureField(CategoricalMeasureFieldProperty.builder() .column(ColumnIdentifierProperty.builder() .columnName("columnName") .dataSetIdentifier("dataSetIdentifier") .build()) .fieldId("fieldId") // the properties below are optional .aggregationFunction("aggregationFunction") .formatConfiguration(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()) .dateMeasureField(DateMeasureFieldProperty.builder() .column(ColumnIdentifierProperty.builder() .columnName("columnName") .dataSetIdentifier("dataSetIdentifier") .build()) .fieldId("fieldId") // the properties below are optional .aggregationFunction("aggregationFunction") .formatConfiguration(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()) .build()) .numericalMeasureField(NumericalMeasureFieldProperty.builder() .column(ColumnIdentifierProperty.builder() .columnName("columnName") .dataSetIdentifier("dataSetIdentifier") .build()) .fieldId("fieldId") // the properties below are optional .aggregationFunction(NumericalAggregationFunctionProperty.builder() .percentileAggregation(PercentileAggregationProperty.builder() .percentileValue(123) .build()) .simpleNumericalAggregation("simpleNumericalAggregation") .build()) .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()) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.MeasureFieldProperty
static final class
An implementation forCfnTemplate.MeasureFieldProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The calculated measure field only used in pivot tables.default Object
The measure type field with categorical type columns.default Object
The measure type field with date type columns.default Object
The measure type field with numerical type columns.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCalculatedMeasureField
The calculated measure field only used in pivot tables.- See Also:
-
getCategoricalMeasureField
The measure type field with categorical type columns.- See Also:
-
getDateMeasureField
The measure type field with date type columns.- See Also:
-
getNumericalMeasureField
The measure type field with numerical type columns.- See Also:
-
builder
-