Class: AWSCDK::QuickSight::CfnAnalysis::ComboChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ComboChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 |
# File 'quick_sight/cfn_analysis.rb', line 4596 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::CfnAnalysis::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil? @color_items_limit = color_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**color_items_limit.transform_keys(&:to_sym)) : color_items_limit Jsii::Type.check_type(@color_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "colorItemsLimit") unless @color_items_limit.nil? @color_sort = color_sort Jsii::Type.check_type(@color_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "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.
4611 4612 4613 |
# File 'quick_sight/cfn_analysis.rb', line 4611 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.
4616 4617 4618 |
# File 'quick_sight/cfn_analysis.rb', line 4616 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.
4621 4622 4623 |
# File 'quick_sight/cfn_analysis.rb', line 4621 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.
4626 4627 4628 |
# File 'quick_sight/cfn_analysis.rb', line 4626 def color_sort @color_sort end |
Class Method Details
.jsii_properties ⇒ Object
4628 4629 4630 4631 4632 4633 4634 4635 |
# File 'quick_sight/cfn_analysis.rb', line 4628 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
4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 |
# File 'quick_sight/cfn_analysis.rb', line 4637 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, "colorItemsLimit" => @color_items_limit, "colorSort" => @color_sort, }) result.compact end |