Class: AWSCDK::QuickSight::CfnDashboard::CurrencyDisplayFormatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::CurrencyDisplayFormatConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the currency display format configuration.
Instance Attribute Summary collapse
-
#decimal_places_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The option that determines the decimal places configuration.
-
#negative_value_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the negative value configuration.
-
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the null value format configuration.
-
#number_scale ⇒ String?
readonly
Determines the number scale value for the currency format.
-
#prefix ⇒ String?
readonly
Determines the prefix value of the currency format.
-
#separator_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the numeric separator configuration.
-
#suffix ⇒ String?
readonly
Determines the suffix value of the currency format.
-
#symbol ⇒ String?
readonly
Determines the symbol for the currency format.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil, symbol: nil) ⇒ CurrencyDisplayFormatConfigurationProperty
constructor
A new instance of CurrencyDisplayFormatConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil, symbol: nil) ⇒ CurrencyDisplayFormatConfigurationProperty
Returns a new instance of CurrencyDisplayFormatConfigurationProperty.
5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 |
# File 'quick_sight/cfn_dashboard.rb', line 5277 def initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil, symbol: nil) @decimal_places_configuration = decimal_places_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DecimalPlacesConfigurationProperty.new(**decimal_places_configuration.transform_keys(&:to_sym)) : decimal_places_configuration Jsii::Type.check_type(@decimal_places_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWNpbWFsUGxhY2VzQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "decimalPlacesConfiguration") unless @decimal_places_configuration.nil? @negative_value_configuration = negative_value_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NegativeValueConfigurationProperty.new(**negative_value_configuration.transform_keys(&:to_sym)) : negative_value_configuration Jsii::Type.check_type(@negative_value_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OZWdhdGl2ZVZhbHVlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "negativeValueConfiguration") unless @negative_value_configuration.nil? @null_value_format_configuration = null_value_format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NullValueFormatConfigurationProperty.new(**null_value_format_configuration.transform_keys(&:to_sym)) : null_value_format_configuration Jsii::Type.check_type(@null_value_format_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OdWxsVmFsdWVGb3JtYXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "nullValueFormatConfiguration") unless @null_value_format_configuration.nil? @number_scale = number_scale Jsii::Type.check_type(@number_scale, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "numberScale") unless @number_scale.nil? @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? @separator_configuration = separator_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NumericSeparatorConfigurationProperty.new(**separator_configuration.transform_keys(&:to_sym)) : separator_configuration Jsii::Type.check_type(@separator_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OdW1lcmljU2VwYXJhdG9yQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "separatorConfiguration") unless @separator_configuration.nil? @suffix = suffix Jsii::Type.check_type(@suffix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "suffix") unless @suffix.nil? @symbol = symbol Jsii::Type.check_type(@symbol, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "symbol") unless @symbol.nil? end |
Instance Attribute Details
#decimal_places_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The option that determines the decimal places configuration.
5300 5301 5302 |
# File 'quick_sight/cfn_dashboard.rb', line 5300 def decimal_places_configuration @decimal_places_configuration end |
#negative_value_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the negative value configuration.
5305 5306 5307 |
# File 'quick_sight/cfn_dashboard.rb', line 5305 def negative_value_configuration @negative_value_configuration end |
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the null value format configuration.
5310 5311 5312 |
# File 'quick_sight/cfn_dashboard.rb', line 5310 def null_value_format_configuration @null_value_format_configuration end |
#number_scale ⇒ String? (readonly)
Determines the number scale value for the currency format.
5315 5316 5317 |
# File 'quick_sight/cfn_dashboard.rb', line 5315 def number_scale @number_scale end |
#prefix ⇒ String? (readonly)
Determines the prefix value of the currency format.
5320 5321 5322 |
# File 'quick_sight/cfn_dashboard.rb', line 5320 def prefix @prefix end |
#separator_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the numeric separator configuration.
5325 5326 5327 |
# File 'quick_sight/cfn_dashboard.rb', line 5325 def separator_configuration @separator_configuration end |
#suffix ⇒ String? (readonly)
Determines the suffix value of the currency format.
5330 5331 5332 |
# File 'quick_sight/cfn_dashboard.rb', line 5330 def suffix @suffix end |
#symbol ⇒ String? (readonly)
Determines the symbol for the currency format.
5335 5336 5337 |
# File 'quick_sight/cfn_dashboard.rb', line 5335 def symbol @symbol end |
Class Method Details
.jsii_properties ⇒ Object
5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 |
# File 'quick_sight/cfn_dashboard.rb', line 5337 def self.jsii_properties { :decimal_places_configuration => "decimalPlacesConfiguration", :negative_value_configuration => "negativeValueConfiguration", :null_value_format_configuration => "nullValueFormatConfiguration", :number_scale => "numberScale", :prefix => "prefix", :separator_configuration => "separatorConfiguration", :suffix => "suffix", :symbol => "symbol", } end |
Instance Method Details
#to_jsii ⇒ Object
5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 |
# File 'quick_sight/cfn_dashboard.rb', line 5350 def to_jsii result = {} result.merge!({ "decimalPlacesConfiguration" => @decimal_places_configuration, "negativeValueConfiguration" => @negative_value_configuration, "nullValueFormatConfiguration" => @null_value_format_configuration, "numberScale" => @number_scale, "prefix" => @prefix, "separatorConfiguration" => @separator_configuration, "suffix" => @suffix, "symbol" => @symbol, }) result.compact end |