Class: AWSCDK::QuickSight::CfnDashboard::NumericSeparatorConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::NumericSeparatorConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the numeric separator configuration.
Instance Attribute Summary collapse
-
#decimal_separator ⇒ String?
readonly
Determines the decimal separator.
-
#thousands_separator ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the thousands separator configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(decimal_separator: nil, thousands_separator: nil) ⇒ NumericSeparatorConfigurationProperty
constructor
A new instance of NumericSeparatorConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(decimal_separator: nil, thousands_separator: nil) ⇒ NumericSeparatorConfigurationProperty
Returns a new instance of NumericSeparatorConfigurationProperty.
20635 20636 20637 20638 20639 20640 |
# File 'quick_sight/cfn_dashboard.rb', line 20635 def initialize(decimal_separator: nil, thousands_separator: nil) @decimal_separator = decimal_separator Jsii::Type.check_type(@decimal_separator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "decimalSeparator") unless @decimal_separator.nil? @thousands_separator = thousands_separator.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ThousandSeparatorOptionsProperty.new(**thousands_separator.transform_keys(&:to_sym)) : thousands_separator Jsii::Type.check_type(@thousands_separator, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UaG91c2FuZFNlcGFyYXRvck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "thousandsSeparator") unless @thousands_separator.nil? end |
Instance Attribute Details
#decimal_separator ⇒ String? (readonly)
Determines the decimal separator.
20646 20647 20648 |
# File 'quick_sight/cfn_dashboard.rb', line 20646 def decimal_separator @decimal_separator end |
#thousands_separator ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the thousands separator configuration.
20651 20652 20653 |
# File 'quick_sight/cfn_dashboard.rb', line 20651 def thousands_separator @thousands_separator end |
Class Method Details
.jsii_properties ⇒ Object
20653 20654 20655 20656 20657 20658 |
# File 'quick_sight/cfn_dashboard.rb', line 20653 def self.jsii_properties { :decimal_separator => "decimalSeparator", :thousands_separator => "thousandsSeparator", } end |
Instance Method Details
#to_jsii ⇒ Object
20660 20661 20662 20663 20664 20665 20666 20667 |
# File 'quick_sight/cfn_dashboard.rb', line 20660 def to_jsii result = {} result.merge!({ "decimalSeparator" => @decimal_separator, "thousandsSeparator" => @thousands_separator, }) result.compact end |