Class: AWSCDK::QuickSight::CfnAnalysis::ThousandSeparatorOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ThousandSeparatorOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The options that determine the thousands separator configuration.
Instance Attribute Summary collapse
-
#grouping_style ⇒ String?
readonly
Determines the way numbers are styled to accommodate different readability standards.
-
#symbol ⇒ String?
readonly
Determines the thousands separator symbol.
-
#visibility ⇒ String?
readonly
Determines the visibility of the thousands separator.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(grouping_style: nil, symbol: nil, visibility: nil) ⇒ ThousandSeparatorOptionsProperty
constructor
A new instance of ThousandSeparatorOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(grouping_style: nil, symbol: nil, visibility: nil) ⇒ ThousandSeparatorOptionsProperty
Returns a new instance of ThousandSeparatorOptionsProperty.
29217 29218 29219 29220 29221 29222 29223 29224 |
# File 'quick_sight/cfn_analysis.rb', line 29217 def initialize(grouping_style: nil, symbol: nil, visibility: nil) @grouping_style = grouping_style Jsii::Type.check_type(@grouping_style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupingStyle") unless @grouping_style.nil? @symbol = symbol Jsii::Type.check_type(@symbol, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "symbol") unless @symbol.nil? @visibility = visibility Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "visibility") unless @visibility.nil? end |
Instance Attribute Details
#grouping_style ⇒ String? (readonly)
Determines the way numbers are styled to accommodate different readability standards.
The DEFAULT value uses the standard international grouping system and groups numbers by the thousands. The LAKHS value uses the Indian numbering system and groups numbers by lakhs and crores.
29232 29233 29234 |
# File 'quick_sight/cfn_analysis.rb', line 29232 def grouping_style @grouping_style end |
#symbol ⇒ String? (readonly)
Determines the thousands separator symbol.
29237 29238 29239 |
# File 'quick_sight/cfn_analysis.rb', line 29237 def symbol @symbol end |
#visibility ⇒ String? (readonly)
Determines the visibility of the thousands separator.
29242 29243 29244 |
# File 'quick_sight/cfn_analysis.rb', line 29242 def visibility @visibility end |
Class Method Details
.jsii_properties ⇒ Object
29244 29245 29246 29247 29248 29249 29250 |
# File 'quick_sight/cfn_analysis.rb', line 29244 def self.jsii_properties { :grouping_style => "groupingStyle", :symbol => "symbol", :visibility => "visibility", } end |
Instance Method Details
#to_jsii ⇒ Object
29252 29253 29254 29255 29256 29257 29258 29259 29260 |
# File 'quick_sight/cfn_analysis.rb', line 29252 def to_jsii result = {} result.merge!({ "groupingStyle" => @grouping_style, "symbol" => @symbol, "visibility" => @visibility, }) result.compact end |