Class: AWSCDK::QuickSight::CfnTemplate::PivotTableFieldCollapseStateTargetProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.rb

Overview

The target of a pivot table field collapse state.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_data_path_values: nil, field_id: nil) ⇒ PivotTableFieldCollapseStateTargetProperty

Returns a new instance of PivotTableFieldCollapseStateTargetProperty.

Parameters:



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_valuesAWSCDK::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_idString? (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_propertiesObject



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_jsiiObject



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