Class: AWSCDK::QuickSight::CfnTemplate::ComboChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ComboChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The sort configuration of a ComboChartVisual .
Instance Attribute Summary collapse
-
#category_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The item limit configuration for the category field well of a combo chart.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the category field well in a combo chart.
-
#color_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The item limit configuration of the color field well in a combo chart.
-
#color_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the color field well in a combo chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil) ⇒ ComboChartSortConfigurationProperty
constructor
A new instance of ComboChartSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil) ⇒ ComboChartSortConfigurationProperty
Returns a new instance of ComboChartSortConfigurationProperty.
4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 |
# File 'quick_sight/cfn_template.rb', line 4447 def initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil) @category_items_limit = category_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil? @color_items_limit = color_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty.new(**color_items_limit.transform_keys(&:to_sym)) : color_items_limit Jsii::Type.check_type(@color_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "colorItemsLimit") unless @color_items_limit.nil? @color_sort = color_sort Jsii::Type.check_type(@color_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "colorSort") unless @color_sort.nil? end |
Instance Attribute Details
#category_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The item limit configuration for the category field well of a combo chart.
4462 4463 4464 |
# File 'quick_sight/cfn_template.rb', line 4462 def category_items_limit @category_items_limit end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the category field well in a combo chart.
4467 4468 4469 |
# File 'quick_sight/cfn_template.rb', line 4467 def category_sort @category_sort end |
#color_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The item limit configuration of the color field well in a combo chart.
4472 4473 4474 |
# File 'quick_sight/cfn_template.rb', line 4472 def color_items_limit @color_items_limit end |
#color_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the color field well in a combo chart.
4477 4478 4479 |
# File 'quick_sight/cfn_template.rb', line 4477 def color_sort @color_sort end |
Class Method Details
.jsii_properties ⇒ Object
4479 4480 4481 4482 4483 4484 4485 4486 |
# File 'quick_sight/cfn_template.rb', line 4479 def self.jsii_properties { :category_items_limit => "categoryItemsLimit", :category_sort => "categorySort", :color_items_limit => "colorItemsLimit", :color_sort => "colorSort", } end |
Instance Method Details
#to_jsii ⇒ Object
4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 |
# File 'quick_sight/cfn_template.rb', line 4488 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, "colorItemsLimit" => @color_items_limit, "colorSort" => @color_sort, }) result.compact end |