Class: AWSCDK::QuickSight::CfnAnalysis::PivotTableSortByProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PivotTableSortByProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The sort by field for the field sort options.
Instance Attribute Summary collapse
-
#column ⇒ AWSCDK::IResolvable, ...
readonly
The column sort (field id, direction) for the pivot table sort by options.
-
#data_path ⇒ AWSCDK::IResolvable, ...
readonly
The data path sort (data path value, direction) for the pivot table sort by options.
-
#field ⇒ AWSCDK::IResolvable, ...
readonly
The field sort (field id, direction) for the pivot table sort by options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column: nil, data_path: nil, field: nil) ⇒ PivotTableSortByProperty
constructor
A new instance of PivotTableSortByProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column: nil, data_path: nil, field: nil) ⇒ PivotTableSortByProperty
Returns a new instance of PivotTableSortByProperty.
22465 22466 22467 22468 22469 22470 22471 22472 |
# File 'quick_sight/cfn_analysis.rb', line 22465 def initialize(column: nil, data_path: nil, field: nil) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ColumnSortProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNvbHVtblNvcnRQcm9wZXJ0eSJ9XX19")), "column") unless @column.nil? @data_path = data_path.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DataPathSortProperty.new(**data_path.transform_keys(&:to_sym)) : data_path Jsii::Type.check_type(@data_path, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRhdGFQYXRoU29ydFByb3BlcnR5In1dfX0=")), "dataPath") unless @data_path.nil? @field = field.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::FieldSortProperty.new(**field.transform_keys(&:to_sym)) : field Jsii::Type.check_type(@field, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkZpZWxkU29ydFByb3BlcnR5In1dfX0=")), "field") unless @field.nil? end |
Instance Attribute Details
#column ⇒ AWSCDK::IResolvable, ... (readonly)
The column sort (field id, direction) for the pivot table sort by options.
22478 22479 22480 |
# File 'quick_sight/cfn_analysis.rb', line 22478 def column @column end |
#data_path ⇒ AWSCDK::IResolvable, ... (readonly)
The data path sort (data path value, direction) for the pivot table sort by options.
22483 22484 22485 |
# File 'quick_sight/cfn_analysis.rb', line 22483 def data_path @data_path end |
#field ⇒ AWSCDK::IResolvable, ... (readonly)
The field sort (field id, direction) for the pivot table sort by options.
22488 22489 22490 |
# File 'quick_sight/cfn_analysis.rb', line 22488 def field @field end |
Class Method Details
.jsii_properties ⇒ Object
22490 22491 22492 22493 22494 22495 22496 |
# File 'quick_sight/cfn_analysis.rb', line 22490 def self.jsii_properties { :column => "column", :data_path => "dataPath", :field => "field", } end |
Instance Method Details
#to_jsii ⇒ Object
22498 22499 22500 22501 22502 22503 22504 22505 22506 |
# File 'quick_sight/cfn_analysis.rb', line 22498 def to_jsii result = {} result.merge!({ "column" => @column, "dataPath" => @data_path, "field" => @field, }) result.compact end |