Class: AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateOptionProperty
- Defined in:
- quick_sight/cfn_template.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::CfnTemplate::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.
20077 20078 20079 20080 20081 20082 |
# File 'quick_sight/cfn_template.rb', line 20077 def initialize(target:, state: nil) @target = target.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateTargetProperty.new(**target.transform_keys(&:to_sym)) : target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlBpdm90VGFibGVGaWVsZENvbGxhcHNlU3RhdGVUYXJnZXRQcm9wZXJ0eSJ9XX19")), "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
20096 20097 20098 |
# File 'quick_sight/cfn_template.rb', line 20096 def state @state end |
#target ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateTargetProperty (readonly)
A tagged-union object that sets the collapse state.
20088 20089 20090 |
# File 'quick_sight/cfn_template.rb', line 20088 def target @target end |
Class Method Details
.jsii_properties ⇒ Object
20098 20099 20100 20101 20102 20103 |
# File 'quick_sight/cfn_template.rb', line 20098 def self.jsii_properties { :target => "target", :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
20105 20106 20107 20108 20109 20110 20111 20112 |
# File 'quick_sight/cfn_template.rb', line 20105 def to_jsii result = {} result.merge!({ "target" => @target, "state" => @state, }) result.compact end |