Class: AWSCDK::QuickSight::CfnDashboard::WaterfallChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::WaterfallChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The sort configuration of a waterfall visual.
Instance Attribute Summary collapse
-
#breakdown_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of bar groups that are displayed.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the category fields.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(breakdown_items_limit: nil, category_sort: nil) ⇒ WaterfallChartSortConfigurationProperty
constructor
A new instance of WaterfallChartSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(breakdown_items_limit: nil, category_sort: nil) ⇒ WaterfallChartSortConfigurationProperty
Returns a new instance of WaterfallChartSortConfigurationProperty.
33021 33022 33023 33024 33025 33026 |
# File 'quick_sight/cfn_dashboard.rb', line 33021 def initialize(breakdown_items_limit: nil, category_sort: nil) @breakdown_items_limit = breakdown_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**breakdown_items_limit.transform_keys(&:to_sym)) : breakdown_items_limit Jsii::Type.check_type(@breakdown_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "breakdownItemsLimit") unless @breakdown_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "categorySort") unless @category_sort.nil? end |
Instance Attribute Details
#breakdown_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of bar groups that are displayed.
33032 33033 33034 |
# File 'quick_sight/cfn_dashboard.rb', line 33032 def breakdown_items_limit @breakdown_items_limit end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the category fields.
33037 33038 33039 |
# File 'quick_sight/cfn_dashboard.rb', line 33037 def category_sort @category_sort end |
Class Method Details
.jsii_properties ⇒ Object
33039 33040 33041 33042 33043 33044 |
# File 'quick_sight/cfn_dashboard.rb', line 33039 def self.jsii_properties { :breakdown_items_limit => "breakdownItemsLimit", :category_sort => "categorySort", } end |
Instance Method Details
#to_jsii ⇒ Object
33046 33047 33048 33049 33050 33051 33052 33053 |
# File 'quick_sight/cfn_dashboard.rb', line 33046 def to_jsii result = {} result.merge!({ "breakdownItemsLimit" => @breakdown_items_limit, "categorySort" => @category_sort, }) result.compact end |