Class: AWSCDK::QuickSight::CfnAnalysis::CurrencyDisplayFormatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::CurrencyDisplayFormatConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 |
# File 'quick_sight/cfn_analysis.rb', line 5411 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::CfnAnalysis::DecimalPlacesConfigurationProperty.new(**decimal_places_configuration.transform_keys(&:to_sym)) : decimal_places_configuration Jsii::Type.check_type(@decimal_places_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRlY2ltYWxQbGFjZXNDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "decimalPlacesConfiguration") unless @decimal_places_configuration.nil? @negative_value_configuration = negative_value_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::NegativeValueConfigurationProperty.new(**negative_value_configuration.transform_keys(&:to_sym)) : negative_value_configuration Jsii::Type.check_type(@negative_value_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk5lZ2F0aXZlVmFsdWVDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "negativeValueConfiguration") unless @negative_value_configuration.nil? @null_value_format_configuration = null_value_format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk51bGxWYWx1ZUZvcm1hdENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "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::CfnAnalysis::NumericSeparatorConfigurationProperty.new(**separator_configuration.transform_keys(&:to_sym)) : separator_configuration Jsii::Type.check_type(@separator_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk51bWVyaWNTZXBhcmF0b3JDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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.
5434 5435 5436 |
# File 'quick_sight/cfn_analysis.rb', line 5434 def decimal_places_configuration @decimal_places_configuration end |
#negative_value_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the negative value configuration.
5439 5440 5441 |
# File 'quick_sight/cfn_analysis.rb', line 5439 def negative_value_configuration @negative_value_configuration end |
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the null value format configuration.
5444 5445 5446 |
# File 'quick_sight/cfn_analysis.rb', line 5444 def null_value_format_configuration @null_value_format_configuration end |
#number_scale ⇒ String? (readonly)
Determines the number scale value for the currency format.
5449 5450 5451 |
# File 'quick_sight/cfn_analysis.rb', line 5449 def number_scale @number_scale end |
#prefix ⇒ String? (readonly)
Determines the prefix value of the currency format.
5454 5455 5456 |
# File 'quick_sight/cfn_analysis.rb', line 5454 def prefix @prefix end |
#separator_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the numeric separator configuration.
5459 5460 5461 |
# File 'quick_sight/cfn_analysis.rb', line 5459 def separator_configuration @separator_configuration end |
#suffix ⇒ String? (readonly)
Determines the suffix value of the currency format.
5464 5465 5466 |
# File 'quick_sight/cfn_analysis.rb', line 5464 def suffix @suffix end |
#symbol ⇒ String? (readonly)
Determines the symbol for the currency format.
5469 5470 5471 |
# File 'quick_sight/cfn_analysis.rb', line 5469 def symbol @symbol end |
Class Method Details
.jsii_properties ⇒ Object
5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 |
# File 'quick_sight/cfn_analysis.rb', line 5471 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
5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 |
# File 'quick_sight/cfn_analysis.rb', line 5484 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 |