Class: AWSCDK::QuickSight::CfnAnalysis::StringFormatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::StringFormatConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
Formatting configuration for string fields.
Instance Attribute Summary collapse
-
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the null value format configuration.
-
#numeric_format_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The formatting configuration for numeric strings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(null_value_format_configuration: nil, numeric_format_configuration: nil) ⇒ StringFormatConfigurationProperty
constructor
A new instance of StringFormatConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(null_value_format_configuration: nil, numeric_format_configuration: nil) ⇒ StringFormatConfigurationProperty
Returns a new instance of StringFormatConfigurationProperty.
27333 27334 27335 27336 27337 27338 |
# File 'quick_sight/cfn_analysis.rb', line 27333 def initialize(null_value_format_configuration: nil, numeric_format_configuration: nil) @null_value_format_configuration = null_value_format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk51bGxWYWx1ZUZvcm1hdENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "nullValueFormatConfiguration") unless @null_value_format_configuration.nil? @numeric_format_configuration = numeric_format_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::NumericFormatConfigurationProperty.new(**numeric_format_configuration.transform_keys(&:to_sym)) : numeric_format_configuration Jsii::Type.check_type(@numeric_format_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLk51bWVyaWNGb3JtYXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "numericFormatConfiguration") unless @numeric_format_configuration.nil? end |
Instance Attribute Details
#null_value_format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the null value format configuration.
27344 27345 27346 |
# File 'quick_sight/cfn_analysis.rb', line 27344 def null_value_format_configuration @null_value_format_configuration end |
#numeric_format_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The formatting configuration for numeric strings.
27349 27350 27351 |
# File 'quick_sight/cfn_analysis.rb', line 27349 def numeric_format_configuration @numeric_format_configuration end |
Class Method Details
.jsii_properties ⇒ Object
27351 27352 27353 27354 27355 27356 |
# File 'quick_sight/cfn_analysis.rb', line 27351 def self.jsii_properties { :null_value_format_configuration => "nullValueFormatConfiguration", :numeric_format_configuration => "numericFormatConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
27358 27359 27360 27361 27362 27363 27364 27365 |
# File 'quick_sight/cfn_analysis.rb', line 27358 def to_jsii result = {} result.merge!({ "nullValueFormatConfiguration" => @null_value_format_configuration, "numericFormatConfiguration" => @numeric_format_configuration, }) result.compact end |