Class: AWSCDK::QuickSight::CfnDashboard::ComboChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ComboChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 |
# File 'quick_sight/cfn_dashboard.rb', line 4462 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::CfnDashboard::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "categorySort") unless @category_sort.nil? @color_items_limit = color_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**color_items_limit.transform_keys(&:to_sym)) : color_items_limit Jsii::Type.check_type(@color_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "colorItemsLimit") unless @color_items_limit.nil? @color_sort = color_sort Jsii::Type.check_type(@color_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "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.
4477 4478 4479 |
# File 'quick_sight/cfn_dashboard.rb', line 4477 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.
4482 4483 4484 |
# File 'quick_sight/cfn_dashboard.rb', line 4482 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.
4487 4488 4489 |
# File 'quick_sight/cfn_dashboard.rb', line 4487 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.
4492 4493 4494 |
# File 'quick_sight/cfn_dashboard.rb', line 4492 def color_sort @color_sort end |
Class Method Details
.jsii_properties ⇒ Object
4494 4495 4496 4497 4498 4499 4500 4501 |
# File 'quick_sight/cfn_dashboard.rb', line 4494 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
4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 |
# File 'quick_sight/cfn_dashboard.rb', line 4503 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, "colorItemsLimit" => @color_items_limit, "colorSort" => @color_sort, }) result.compact end |