Class: AWSCDK::QuickSight::CfnTemplate::PivotTableTotalOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PivotTableTotalOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The total options for a pivot table visual.
Instance Attribute Summary collapse
-
#column_subtotal_options ⇒ AWSCDK::IResolvable, ...
readonly
The column subtotal options.
-
#column_total_options ⇒ AWSCDK::IResolvable, ...
readonly
The column total options.
-
#row_subtotal_options ⇒ AWSCDK::IResolvable, ...
readonly
The row subtotal options.
-
#row_total_options ⇒ AWSCDK::IResolvable, ...
readonly
The row total options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_subtotal_options: nil, column_total_options: nil, row_subtotal_options: nil, row_total_options: nil) ⇒ PivotTableTotalOptionsProperty
constructor
A new instance of PivotTableTotalOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_subtotal_options: nil, column_total_options: nil, row_subtotal_options: nil, row_total_options: nil) ⇒ PivotTableTotalOptionsProperty
Returns a new instance of PivotTableTotalOptionsProperty.
20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 |
# File 'quick_sight/cfn_template.rb', line 20678 def initialize(column_subtotal_options: nil, column_total_options: nil, row_subtotal_options: nil, row_total_options: nil) @column_subtotal_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::SubtotalOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@column_subtotal_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlN1YnRvdGFsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "columnSubtotalOptions") unless @column_subtotal_options.nil? @column_total_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::PivotTotalOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@column_total_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlBpdm90VG90YWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "columnTotalOptions") unless @column_total_options.nil? @row_subtotal_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::SubtotalOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@row_subtotal_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlN1YnRvdGFsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "rowSubtotalOptions") unless @row_subtotal_options.nil? @row_total_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::PivotTotalOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@row_total_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlBpdm90VG90YWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "rowTotalOptions") unless @row_total_options.nil? end |
Instance Attribute Details
#column_subtotal_options ⇒ AWSCDK::IResolvable, ... (readonly)
The column subtotal options.
20693 20694 20695 |
# File 'quick_sight/cfn_template.rb', line 20693 def @column_subtotal_options end |
#column_total_options ⇒ AWSCDK::IResolvable, ... (readonly)
The column total options.
20698 20699 20700 |
# File 'quick_sight/cfn_template.rb', line 20698 def @column_total_options end |
#row_subtotal_options ⇒ AWSCDK::IResolvable, ... (readonly)
The row subtotal options.
20703 20704 20705 |
# File 'quick_sight/cfn_template.rb', line 20703 def @row_subtotal_options end |
#row_total_options ⇒ AWSCDK::IResolvable, ... (readonly)
The row total options.
20708 20709 20710 |
# File 'quick_sight/cfn_template.rb', line 20708 def @row_total_options end |
Class Method Details
.jsii_properties ⇒ Object
20710 20711 20712 20713 20714 20715 20716 20717 |
# File 'quick_sight/cfn_template.rb', line 20710 def self.jsii_properties { :column_subtotal_options => "columnSubtotalOptions", :column_total_options => "columnTotalOptions", :row_subtotal_options => "rowSubtotalOptions", :row_total_options => "rowTotalOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 |
# File 'quick_sight/cfn_template.rb', line 20719 def to_jsii result = {} result.merge!({ "columnSubtotalOptions" => @column_subtotal_options, "columnTotalOptions" => @column_total_options, "rowSubtotalOptions" => @row_subtotal_options, "rowTotalOptions" => @row_total_options, }) result.compact end |