Class: AWSCDK::QuickSight::CfnTemplate::NumericSeparatorConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::NumericSeparatorConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
17852 17853 17854 17855 17856 17857 |
# File 'quick_sight/cfn_template.rb', line 17852 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::CfnTemplate::ThousandSeparatorOptionsProperty.new(**thousands_separator.transform_keys(&:to_sym)) : thousands_separator Jsii::Type.check_type(@thousands_separator, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRob3VzYW5kU2VwYXJhdG9yT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "thousandsSeparator") unless @thousands_separator.nil? end |
Instance Attribute Details
#decimal_separator ⇒ String? (readonly)
Determines the decimal separator.
17863 17864 17865 |
# File 'quick_sight/cfn_template.rb', line 17863 def decimal_separator @decimal_separator end |
#thousands_separator ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the thousands separator configuration.
17868 17869 17870 |
# File 'quick_sight/cfn_template.rb', line 17868 def thousands_separator @thousands_separator end |
Class Method Details
.jsii_properties ⇒ Object
17870 17871 17872 17873 17874 17875 |
# File 'quick_sight/cfn_template.rb', line 17870 def self.jsii_properties { :decimal_separator => "decimalSeparator", :thousands_separator => "thousandsSeparator", } end |
Instance Method Details
#to_jsii ⇒ Object
17877 17878 17879 17880 17881 17882 17883 17884 |
# File 'quick_sight/cfn_template.rb', line 17877 def to_jsii result = {} result.merge!({ "decimalSeparator" => @decimal_separator, "thousandsSeparator" => @thousands_separator, }) result.compact end |