Class: AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateOptionProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The collapse state options for the pivot table field options.
Instance Attribute Summary collapse
-
#state ⇒ String?
readonly
The state of the field target of a pivot table.
-
#target ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty
readonly
A tagged-union object that sets the collapse state.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target:, state: nil) ⇒ PivotTableFieldCollapseStateOptionProperty
constructor
A new instance of PivotTableFieldCollapseStateOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target:, state: nil) ⇒ PivotTableFieldCollapseStateOptionProperty
Returns a new instance of PivotTableFieldCollapseStateOptionProperty.
22923 22924 22925 22926 22927 22928 |
# File 'quick_sight/cfn_dashboard.rb', line 22923 def initialize(target:, state: nil) @target = target.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty.new(**target.transform_keys(&:to_sym)) : target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QaXZvdFRhYmxlRmllbGRDb2xsYXBzZVN0YXRlVGFyZ2V0UHJvcGVydHkifV19fQ==")), "target") @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") unless @state.nil? end |
Instance Attribute Details
#state ⇒ String? (readonly)
The state of the field target of a pivot table. Choose one of the following options:.
COLLAPSEDEXPANDED
22942 22943 22944 |
# File 'quick_sight/cfn_dashboard.rb', line 22942 def state @state end |
#target ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::PivotTableFieldCollapseStateTargetProperty (readonly)
A tagged-union object that sets the collapse state.
22934 22935 22936 |
# File 'quick_sight/cfn_dashboard.rb', line 22934 def target @target end |
Class Method Details
.jsii_properties ⇒ Object
22944 22945 22946 22947 22948 22949 |
# File 'quick_sight/cfn_dashboard.rb', line 22944 def self.jsii_properties { :target => "target", :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
22951 22952 22953 22954 22955 22956 22957 22958 |
# File 'quick_sight/cfn_dashboard.rb', line 22951 def to_jsii result = {} result.merge!({ "target" => @target, "state" => @state, }) result.compact end |