Class: AWSCDK::QuickSight::CfnDashboard::NumberDisplayFormatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::NumberDisplayFormatConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the number display format configuration.
Instance Attribute Summary collapse
-
#decimal_places_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The option that determines the decimal places configuration.
-
#negative_value_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the negative value configuration.
-
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the null value format configuration.
-
#number_scale ⇒ String?
readonly
Determines the number scale value of the number format.
-
#prefix ⇒ String?
readonly
Determines the prefix value of the number format.
-
#separator_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the numeric separator configuration.
-
#suffix ⇒ String?
readonly
Determines the suffix value of the number format.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil) ⇒ NumberDisplayFormatConfigurationProperty
constructor
A new instance of NumberDisplayFormatConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil) ⇒ NumberDisplayFormatConfigurationProperty
Returns a new instance of NumberDisplayFormatConfigurationProperty.
20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 |
# File 'quick_sight/cfn_dashboard.rb', line 20077 def initialize(decimal_places_configuration: nil, negative_value_configuration: nil, null_value_format_configuration: nil, number_scale: nil, prefix: nil, separator_configuration: nil, suffix: nil) @decimal_places_configuration = decimal_places_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DecimalPlacesConfigurationProperty.new(**decimal_places_configuration.transform_keys(&:to_sym)) : decimal_places_configuration Jsii::Type.check_type(@decimal_places_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWNpbWFsUGxhY2VzQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "decimalPlacesConfiguration") unless @decimal_places_configuration.nil? @negative_value_configuration = negative_value_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NegativeValueConfigurationProperty.new(**negative_value_configuration.transform_keys(&:to_sym)) : negative_value_configuration Jsii::Type.check_type(@negative_value_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OZWdhdGl2ZVZhbHVlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "negativeValueConfiguration") unless @negative_value_configuration.nil? @null_value_format_configuration = null_value_format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NullValueFormatConfigurationProperty.new(**null_value_format_configuration.transform_keys(&:to_sym)) : null_value_format_configuration Jsii::Type.check_type(@null_value_format_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OdWxsVmFsdWVGb3JtYXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "nullValueFormatConfiguration") unless @null_value_format_configuration.nil? @number_scale = number_scale Jsii::Type.check_type(@number_scale, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "numberScale") unless @number_scale.nil? @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? @separator_configuration = separator_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::NumericSeparatorConfigurationProperty.new(**separator_configuration.transform_keys(&:to_sym)) : separator_configuration Jsii::Type.check_type(@separator_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5OdW1lcmljU2VwYXJhdG9yQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "separatorConfiguration") unless @separator_configuration.nil? @suffix = suffix Jsii::Type.check_type(@suffix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "suffix") unless @suffix.nil? end |
Instance Attribute Details
#decimal_places_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The option that determines the decimal places configuration.
20098 20099 20100 |
# File 'quick_sight/cfn_dashboard.rb', line 20098 def decimal_places_configuration @decimal_places_configuration end |
#negative_value_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the negative value configuration.
20103 20104 20105 |
# File 'quick_sight/cfn_dashboard.rb', line 20103 def negative_value_configuration @negative_value_configuration end |
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the null value format configuration.
20108 20109 20110 |
# File 'quick_sight/cfn_dashboard.rb', line 20108 def null_value_format_configuration @null_value_format_configuration end |
#number_scale ⇒ String? (readonly)
Determines the number scale value of the number format.
20113 20114 20115 |
# File 'quick_sight/cfn_dashboard.rb', line 20113 def number_scale @number_scale end |
#prefix ⇒ String? (readonly)
Determines the prefix value of the number format.
20118 20119 20120 |
# File 'quick_sight/cfn_dashboard.rb', line 20118 def prefix @prefix end |
#separator_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the numeric separator configuration.
20123 20124 20125 |
# File 'quick_sight/cfn_dashboard.rb', line 20123 def separator_configuration @separator_configuration end |
#suffix ⇒ String? (readonly)
Determines the suffix value of the number format.
20128 20129 20130 |
# File 'quick_sight/cfn_dashboard.rb', line 20128 def suffix @suffix end |
Class Method Details
.jsii_properties ⇒ Object
20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 |
# File 'quick_sight/cfn_dashboard.rb', line 20130 def self.jsii_properties { :decimal_places_configuration => "decimalPlacesConfiguration", :negative_value_configuration => "negativeValueConfiguration", :null_value_format_configuration => "nullValueFormatConfiguration", :number_scale => "numberScale", :prefix => "prefix", :separator_configuration => "separatorConfiguration", :suffix => "suffix", } end |
Instance Method Details
#to_jsii ⇒ Object
20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 |
# File 'quick_sight/cfn_dashboard.rb', line 20142 def to_jsii result = {} result.merge!({ "decimalPlacesConfiguration" => @decimal_places_configuration, "negativeValueConfiguration" => @negative_value_configuration, "nullValueFormatConfiguration" => @null_value_format_configuration, "numberScale" => @number_scale, "prefix" => @prefix, "separatorConfiguration" => @separator_configuration, "suffix" => @suffix, }) result.compact end |