Class: AWSCDK::QuickSight::CfnTemplate::RowAlternateColorOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::RowAlternateColorOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
Determines the row alternate color options.
Instance Attribute Summary collapse
-
#row_alternate_colors ⇒ Array<String>?
readonly
Determines the list of row alternate colors.
-
#status ⇒ String?
readonly
Determines the widget status.
-
#use_primary_background_color ⇒ String?
readonly
The primary background color options for alternate rows.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(row_alternate_colors: nil, status: nil, use_primary_background_color: nil) ⇒ RowAlternateColorOptionsProperty
constructor
A new instance of RowAlternateColorOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(row_alternate_colors: nil, status: nil, use_primary_background_color: nil) ⇒ RowAlternateColorOptionsProperty
Returns a new instance of RowAlternateColorOptionsProperty.
22703 22704 22705 22706 22707 22708 22709 22710 |
# File 'quick_sight/cfn_template.rb', line 22703 def initialize(row_alternate_colors: nil, status: nil, use_primary_background_color: nil) @row_alternate_colors = row_alternate_colors Jsii::Type.check_type(@row_alternate_colors, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "rowAlternateColors") unless @row_alternate_colors.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @use_primary_background_color = use_primary_background_color Jsii::Type.check_type(@use_primary_background_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "usePrimaryBackgroundColor") unless @use_primary_background_color.nil? end |
Instance Attribute Details
#row_alternate_colors ⇒ Array<String>? (readonly)
Determines the list of row alternate colors.
22716 22717 22718 |
# File 'quick_sight/cfn_template.rb', line 22716 def row_alternate_colors @row_alternate_colors end |
#status ⇒ String? (readonly)
Determines the widget status.
22721 22722 22723 |
# File 'quick_sight/cfn_template.rb', line 22721 def status @status end |
#use_primary_background_color ⇒ String? (readonly)
The primary background color options for alternate rows.
22726 22727 22728 |
# File 'quick_sight/cfn_template.rb', line 22726 def use_primary_background_color @use_primary_background_color end |
Class Method Details
.jsii_properties ⇒ Object
22728 22729 22730 22731 22732 22733 22734 |
# File 'quick_sight/cfn_template.rb', line 22728 def self.jsii_properties { :row_alternate_colors => "rowAlternateColors", :status => "status", :use_primary_background_color => "usePrimaryBackgroundColor", } end |
Instance Method Details
#to_jsii ⇒ Object
22736 22737 22738 22739 22740 22741 22742 22743 22744 |
# File 'quick_sight/cfn_template.rb', line 22736 def to_jsii result = {} result.merge!({ "rowAlternateColors" => @row_alternate_colors, "status" => @status, "usePrimaryBackgroundColor" => @use_primary_background_color, }) result.compact end |