Class: AWSCDK::QuickSight::CfnAnalysis::TotalOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::TotalOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The total options for a table visual.
Instance Attribute Summary collapse
-
#custom_label ⇒ String?
readonly
The custom label string for the total 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 settings for each value field.
-
#total_cell_style ⇒ AWSCDK::IResolvable, ...
readonly
Cell styling options for the total cells.
-
#totals_visibility ⇒ String?
readonly
The visibility configuration for the total cells.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_label: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil) ⇒ TotalOptionsProperty
constructor
A new instance of TotalOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_label: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil) ⇒ TotalOptionsProperty
Returns a new instance of TotalOptionsProperty.
30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 30243 |
# File 'quick_sight/cfn_analysis.rb', line 30230 def initialize(custom_label: nil, placement: nil, scroll_status: nil, total_aggregation_options: nil, total_cell_style: nil, totals_visibility: nil) @custom_label = custom_label Jsii::Type.check_type(@custom_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customLabel") unless @custom_label.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? end |
Instance Attribute Details
#custom_label ⇒ String? (readonly)
The custom label string for the total cells.
30249 30250 30251 |
# File 'quick_sight/cfn_analysis.rb', line 30249 def custom_label @custom_label end |
#placement ⇒ String? (readonly)
The placement (start, end) for the total cells.
30254 30255 30256 |
# File 'quick_sight/cfn_analysis.rb', line 30254 def placement @placement end |
#scroll_status ⇒ String? (readonly)
The scroll status (pinned, scrolled) for the total cells.
30259 30260 30261 |
# File 'quick_sight/cfn_analysis.rb', line 30259 def scroll_status @scroll_status end |
#total_aggregation_options ⇒ AWSCDK::IResolvable, ... (readonly)
The total aggregation settings for each value field.
30264 30265 30266 |
# File 'quick_sight/cfn_analysis.rb', line 30264 def @total_aggregation_options end |
#total_cell_style ⇒ AWSCDK::IResolvable, ... (readonly)
Cell styling options for the total cells.
30269 30270 30271 |
# File 'quick_sight/cfn_analysis.rb', line 30269 def total_cell_style @total_cell_style end |
#totals_visibility ⇒ String? (readonly)
The visibility configuration for the total cells.
30274 30275 30276 |
# File 'quick_sight/cfn_analysis.rb', line 30274 def totals_visibility @totals_visibility end |
Class Method Details
.jsii_properties ⇒ Object
30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 |
# File 'quick_sight/cfn_analysis.rb', line 30276 def self.jsii_properties { :custom_label => "customLabel", :placement => "placement", :scroll_status => "scrollStatus", :total_aggregation_options => "totalAggregationOptions", :total_cell_style => "totalCellStyle", :totals_visibility => "totalsVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 |
# File 'quick_sight/cfn_analysis.rb', line 30287 def to_jsii result = {} result.merge!({ "customLabel" => @custom_label, "placement" => @placement, "scrollStatus" => @scroll_status, "totalAggregationOptions" => @total_aggregation_options, "totalCellStyle" => @total_cell_style, "totalsVisibility" => @totals_visibility, }) result.compact end |