Class: AWSCDK::QuickSight::CfnAnalysis::PivotTableCellConditionalFormattingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PivotTableCellConditionalFormattingProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The cell conditional formatting option for a pivot table.
Instance Attribute Summary collapse
-
#field_id ⇒ String
readonly
The field ID of the cell for conditional formatting.
-
#scope ⇒ AWSCDK::IResolvable, ...
readonly
The scope of the cell for conditional formatting.
-
#scopes ⇒ AWSCDK::IResolvable, ...
readonly
A list of cell scopes for conditional formatting.
-
#text_format ⇒ AWSCDK::IResolvable, ...
readonly
The text format of the cell for conditional formatting.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_id:, scope: nil, scopes: nil, text_format: nil) ⇒ PivotTableCellConditionalFormattingProperty
constructor
A new instance of PivotTableCellConditionalFormattingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_id:, scope: nil, scopes: nil, text_format: nil) ⇒ PivotTableCellConditionalFormattingProperty
Returns a new instance of PivotTableCellConditionalFormattingProperty.
21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 |
# File 'quick_sight/cfn_analysis.rb', line 21655 def initialize(field_id:, scope: nil, scopes: nil, text_format: nil) @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") @scope = scope.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::PivotTableConditionalFormattingScopeProperty.new(**scope.transform_keys(&:to_sym)) : scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlBpdm90VGFibGVDb25kaXRpb25hbEZvcm1hdHRpbmdTY29wZVByb3BlcnR5In1dfX0=")), "scope") unless @scope.nil? @scopes = scopes Jsii::Type.check_type(@scopes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5QaXZvdFRhYmxlQ29uZGl0aW9uYWxGb3JtYXR0aW5nU2NvcGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "scopes") unless @scopes.nil? @text_format = text_format.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TextConditionalFormatProperty.new(**text_format.transform_keys(&:to_sym)) : text_format Jsii::Type.check_type(@text_format, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRleHRDb25kaXRpb25hbEZvcm1hdFByb3BlcnR5In1dfX0=")), "textFormat") unless @text_format.nil? end |
Instance Attribute Details
#field_id ⇒ String (readonly)
The field ID of the cell for conditional formatting.
21670 21671 21672 |
# File 'quick_sight/cfn_analysis.rb', line 21670 def field_id @field_id end |
#scope ⇒ AWSCDK::IResolvable, ... (readonly)
The scope of the cell for conditional formatting.
21675 21676 21677 |
# File 'quick_sight/cfn_analysis.rb', line 21675 def scope @scope end |
#scopes ⇒ AWSCDK::IResolvable, ... (readonly)
A list of cell scopes for conditional formatting.
21680 21681 21682 |
# File 'quick_sight/cfn_analysis.rb', line 21680 def scopes @scopes end |
#text_format ⇒ AWSCDK::IResolvable, ... (readonly)
The text format of the cell for conditional formatting.
21685 21686 21687 |
# File 'quick_sight/cfn_analysis.rb', line 21685 def text_format @text_format end |
Class Method Details
.jsii_properties ⇒ Object
21687 21688 21689 21690 21691 21692 21693 21694 |
# File 'quick_sight/cfn_analysis.rb', line 21687 def self.jsii_properties { :field_id => "fieldId", :scope => "scope", :scopes => "scopes", :text_format => "textFormat", } end |
Instance Method Details
#to_jsii ⇒ Object
21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 |
# File 'quick_sight/cfn_analysis.rb', line 21696 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, "scope" => @scope, "scopes" => @scopes, "textFormat" => @text_format, }) result.compact end |