Class: AWSCDK::QuickSight::CfnAnalysis::PivotTotalOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PivotTotalOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The optional configuration of totals cells in a PivotTableVisual .
Instance Attribute Summary collapse
-
#custom_label ⇒ String?
readonly
The custom label string for the total cells.
-
#metric_header_cell_style ⇒ AWSCDK::IResolvable, ...
readonly
The cell styling options for the total of header cells.
-
#placement ⇒ String?
readonly
The placement (start, end) for the total cells.
-
#scroll_status ⇒ String?
readonly
The scroll status (pinned, scrolled) for the total cells.
-
#total_aggregation_options ⇒ AWSCDK::IResolvable, ...
readonly
The total aggregation options for each value field.
-
#total_cell_style ⇒ AWSCDK::IResolvable, ...
readonly
The cell styling options for the total cells.
-
#totals_visibility ⇒ String?
readonly
The visibility configuration for the total cells.
-
#value_cell_style ⇒ AWSCDK::IResolvable, ...
readonly
The cell styling options for the totals of value cells.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_label: nil, metric_header_cell_style: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil, value_cell_style: nil) ⇒ PivotTotalOptionsProperty
constructor
A new instance of PivotTotalOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_label: nil, metric_header_cell_style: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil, value_cell_style: nil) ⇒ PivotTotalOptionsProperty
Returns a new instance of PivotTotalOptionsProperty.
22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 |
# File 'quick_sight/cfn_analysis.rb', line 22716 def initialize(custom_label: nil, metric_header_cell_style: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil, value_cell_style: nil) @custom_label = custom_label Jsii::Type.check_type(@custom_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customLabel") unless @custom_label.nil? @metric_header_cell_style = metric_header_cell_style.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableCellStyleProperty.new(**metric_header_cell_style.transform_keys(&:to_sym)) : metric_header_cell_style Jsii::Type.check_type(@metric_header_cell_style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlQ2VsbFN0eWxlUHJvcGVydHkifV19fQ==")), "metricHeaderCellStyle") unless @metric_header_cell_style.nil? @placement = placement Jsii::Type.check_type(@placement, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "placement") unless @placement.nil? @scroll_status = scroll_status Jsii::Type.check_type(@scroll_status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scrollStatus") unless @scroll_status.nil? @total_aggregation_options = Jsii::Type.check_type(@total_aggregation_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5Ub3RhbEFnZ3JlZ2F0aW9uT3B0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "totalAggregationOptions") unless @total_aggregation_options.nil? @total_cell_style = total_cell_style.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableCellStyleProperty.new(**total_cell_style.transform_keys(&:to_sym)) : total_cell_style Jsii::Type.check_type(@total_cell_style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlQ2VsbFN0eWxlUHJvcGVydHkifV19fQ==")), "totalCellStyle") unless @total_cell_style.nil? @totals_visibility = totals_visibility Jsii::Type.check_type(@totals_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "totalsVisibility") unless @totals_visibility.nil? @value_cell_style = value_cell_style.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableCellStyleProperty.new(**value_cell_style.transform_keys(&:to_sym)) : value_cell_style Jsii::Type.check_type(@value_cell_style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlQ2VsbFN0eWxlUHJvcGVydHkifV19fQ==")), "valueCellStyle") unless @value_cell_style.nil? end |
Instance Attribute Details
#custom_label ⇒ String? (readonly)
The custom label string for the total cells.
22739 22740 22741 |
# File 'quick_sight/cfn_analysis.rb', line 22739 def custom_label @custom_label end |
#metric_header_cell_style ⇒ AWSCDK::IResolvable, ... (readonly)
The cell styling options for the total of header cells.
22744 22745 22746 |
# File 'quick_sight/cfn_analysis.rb', line 22744 def metric_header_cell_style @metric_header_cell_style end |
#placement ⇒ String? (readonly)
The placement (start, end) for the total cells.
22749 22750 22751 |
# File 'quick_sight/cfn_analysis.rb', line 22749 def placement @placement end |
#scroll_status ⇒ String? (readonly)
The scroll status (pinned, scrolled) for the total cells.
22754 22755 22756 |
# File 'quick_sight/cfn_analysis.rb', line 22754 def scroll_status @scroll_status end |
#total_aggregation_options ⇒ AWSCDK::IResolvable, ... (readonly)
The total aggregation options for each value field.
22759 22760 22761 |
# File 'quick_sight/cfn_analysis.rb', line 22759 def @total_aggregation_options end |
#total_cell_style ⇒ AWSCDK::IResolvable, ... (readonly)
The cell styling options for the total cells.
22764 22765 22766 |
# File 'quick_sight/cfn_analysis.rb', line 22764 def total_cell_style @total_cell_style end |
#totals_visibility ⇒ String? (readonly)
The visibility configuration for the total cells.
22769 22770 22771 |
# File 'quick_sight/cfn_analysis.rb', line 22769 def totals_visibility @totals_visibility end |
#value_cell_style ⇒ AWSCDK::IResolvable, ... (readonly)
The cell styling options for the totals of value cells.
22774 22775 22776 |
# File 'quick_sight/cfn_analysis.rb', line 22774 def value_cell_style @value_cell_style end |
Class Method Details
.jsii_properties ⇒ Object
22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 |
# File 'quick_sight/cfn_analysis.rb', line 22776 def self.jsii_properties { :custom_label => "customLabel", :metric_header_cell_style => "metricHeaderCellStyle", :placement => "placement", :scroll_status => "scrollStatus", :total_aggregation_options => "totalAggregationOptions", :total_cell_style => "totalCellStyle", :totals_visibility => "totalsVisibility", :value_cell_style => "valueCellStyle", } end |
Instance Method Details
#to_jsii ⇒ Object
22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 |
# File 'quick_sight/cfn_analysis.rb', line 22789 def to_jsii result = {} result.merge!({ "customLabel" => @custom_label, "metricHeaderCellStyle" => @metric_header_cell_style, "placement" => @placement, "scrollStatus" => @scroll_status, "totalAggregationOptions" => @total_aggregation_options, "totalCellStyle" => @total_cell_style, "totalsVisibility" => @totals_visibility, "valueCellStyle" => @value_cell_style, }) result.compact end |