Class: AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateTargetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateTargetProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The target of a pivot table field collapse state.
Instance Attribute Summary collapse
-
#field_data_path_values ⇒ AWSCDK::IResolvable, ...
readonly
The data path of the pivot table's header.
-
#field_id ⇒ String?
readonly
The field ID of the pivot table that the collapse state needs to be set to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_data_path_values: nil, field_id: nil) ⇒ PivotTableFieldCollapseStateTargetProperty
constructor
A new instance of PivotTableFieldCollapseStateTargetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_data_path_values: nil, field_id: nil) ⇒ PivotTableFieldCollapseStateTargetProperty
Returns a new instance of PivotTableFieldCollapseStateTargetProperty.
20123 20124 20125 20126 20127 20128 |
# File 'quick_sight/cfn_template.rb', line 20123 def initialize(field_data_path_values: nil, field_id: nil) @field_data_path_values = field_data_path_values Jsii::Type.check_type(@field_data_path_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EYXRhUGF0aFZhbHVlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "fieldDataPathValues") unless @field_data_path_values.nil? @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") unless @field_id.nil? end |
Instance Attribute Details
#field_data_path_values ⇒ AWSCDK::IResolvable, ... (readonly)
The data path of the pivot table's header.
Used to set the collapse state.
20136 20137 20138 |
# File 'quick_sight/cfn_template.rb', line 20136 def field_data_path_values @field_data_path_values end |
#field_id ⇒ String? (readonly)
The field ID of the pivot table that the collapse state needs to be set to.
20141 20142 20143 |
# File 'quick_sight/cfn_template.rb', line 20141 def field_id @field_id end |
Class Method Details
.jsii_properties ⇒ Object
20143 20144 20145 20146 20147 20148 |
# File 'quick_sight/cfn_template.rb', line 20143 def self.jsii_properties { :field_data_path_values => "fieldDataPathValues", :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
20150 20151 20152 20153 20154 20155 20156 20157 |
# File 'quick_sight/cfn_template.rb', line 20150 def to_jsii result = {} result.merge!({ "fieldDataPathValues" => @field_data_path_values, "fieldId" => @field_id, }) result.compact end |