Class: AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
22969 22970 22971 22972 22973 22974 |
# File 'quick_sight/cfn_dashboard.rb', line 22969 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGF0YVBhdGhWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "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.
22982 22983 22984 |
# File 'quick_sight/cfn_dashboard.rb', line 22982 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.
22987 22988 22989 |
# File 'quick_sight/cfn_dashboard.rb', line 22987 def field_id @field_id end |
Class Method Details
.jsii_properties ⇒ Object
22989 22990 22991 22992 22993 22994 |
# File 'quick_sight/cfn_dashboard.rb', line 22989 def self.jsii_properties { :field_data_path_values => "fieldDataPathValues", :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
22996 22997 22998 22999 23000 23001 23002 23003 |
# File 'quick_sight/cfn_dashboard.rb', line 22996 def to_jsii result = {} result.merge!({ "fieldDataPathValues" => @field_data_path_values, "fieldId" => @field_id, }) result.compact end |