Class: AWSCDK::QuickSight::CfnAnalysis::NumericSeparatorConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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:



19663
19664
19665
19666
19667
19668
# File 'quick_sight/cfn_analysis.rb', line 19663

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::CfnAnalysis::ThousandSeparatorOptionsProperty.new(**thousands_separator.transform_keys(&:to_sym)) : thousands_separator
  Jsii::Type.check_type(@thousands_separator, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRob3VzYW5kU2VwYXJhdG9yT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "thousandsSeparator") unless @thousands_separator.nil?
end

Instance Attribute Details

#decimal_separatorString? (readonly)

Determines the decimal separator.



19674
19675
19676
# File 'quick_sight/cfn_analysis.rb', line 19674

def decimal_separator
  @decimal_separator
end

#thousands_separatorAWSCDK::IResolvable, ... (readonly)

The options that determine the thousands separator configuration.



19679
19680
19681
# File 'quick_sight/cfn_analysis.rb', line 19679

def thousands_separator
  @thousands_separator
end

Class Method Details

.jsii_propertiesObject



19681
19682
19683
19684
19685
19686
# File 'quick_sight/cfn_analysis.rb', line 19681

def self.jsii_properties
  {
    :decimal_separator => "decimalSeparator",
    :thousands_separator => "thousandsSeparator",
  }
end

Instance Method Details

#to_jsiiObject



19688
19689
19690
19691
19692
19693
19694
19695
# File 'quick_sight/cfn_analysis.rb', line 19688

def to_jsii
  result = {}
  result.merge!({
    "decimalSeparator" => @decimal_separator,
    "thousandsSeparator" => @thousands_separator,
  })
  result.compact
end