Class: AWSCDK::QuickSight::CfnDashboard::NumericSeparatorConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The options that determine the numeric separator configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(decimal_separator: nil, thousands_separator: nil) ⇒ NumericSeparatorConfigurationProperty

Returns a new instance of NumericSeparatorConfigurationProperty.

Parameters:



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_separatorString? (readonly)

Determines the decimal separator.



20646
20647
20648
# File 'quick_sight/cfn_dashboard.rb', line 20646

def decimal_separator
  @decimal_separator
end

#thousands_separatorAWSCDK::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_propertiesObject



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_jsiiObject



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