Class: AWSCDK::QuickSight::CfnDashboard::ThousandSeparatorOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ThousandSeparatorOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
30255 30256 30257 30258 30259 30260 30261 30262 |
# File 'quick_sight/cfn_dashboard.rb', line 30255 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.
30270 30271 30272 |
# File 'quick_sight/cfn_dashboard.rb', line 30270 def grouping_style @grouping_style end |
#symbol ⇒ String? (readonly)
Determines the thousands separator symbol.
30275 30276 30277 |
# File 'quick_sight/cfn_dashboard.rb', line 30275 def symbol @symbol end |
#visibility ⇒ String? (readonly)
Determines the visibility of the thousands separator.
30280 30281 30282 |
# File 'quick_sight/cfn_dashboard.rb', line 30280 def visibility @visibility end |
Class Method Details
.jsii_properties ⇒ Object
30282 30283 30284 30285 30286 30287 30288 |
# File 'quick_sight/cfn_dashboard.rb', line 30282 def self.jsii_properties { :grouping_style => "groupingStyle", :symbol => "symbol", :visibility => "visibility", } end |
Instance Method Details
#to_jsii ⇒ Object
30290 30291 30292 30293 30294 30295 30296 30297 30298 |
# File 'quick_sight/cfn_dashboard.rb', line 30290 def to_jsii result = {} result.merge!({ "groupingStyle" => @grouping_style, "symbol" => @symbol, "visibility" => @visibility, }) result.compact end |