Class: AWSCDK::QuickSight::CfnDashboard::PivotTableSortByProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PivotTableSortByProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
23437 23438 23439 23440 23441 23442 23443 23444 |
# File 'quick_sight/cfn_dashboard.rb', line 23437 def initialize(column: nil, data_path: nil, field: nil) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColumnSortProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2x1bW5Tb3J0UHJvcGVydHkifV19fQ==")), "column") unless @column.nil? @data_path = data_path.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DataPathSortProperty.new(**data_path.transform_keys(&:to_sym)) : data_path Jsii::Type.check_type(@data_path, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EYXRhUGF0aFNvcnRQcm9wZXJ0eSJ9XX19")), "dataPath") unless @data_path.nil? @field = field.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FieldSortProperty.new(**field.transform_keys(&:to_sym)) : field Jsii::Type.check_type(@field, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWVsZFNvcnRQcm9wZXJ0eSJ9XX19")), "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.
23450 23451 23452 |
# File 'quick_sight/cfn_dashboard.rb', line 23450 def column @column end |
#data_path ⇒ AWSCDK::IResolvable, ... (readonly)
The data path sort (data path value, direction) for the pivot table sort by options.
23455 23456 23457 |
# File 'quick_sight/cfn_dashboard.rb', line 23455 def data_path @data_path end |
#field ⇒ AWSCDK::IResolvable, ... (readonly)
The field sort (field id, direction) for the pivot table sort by options.
23460 23461 23462 |
# File 'quick_sight/cfn_dashboard.rb', line 23460 def field @field end |
Class Method Details
.jsii_properties ⇒ Object
23462 23463 23464 23465 23466 23467 23468 |
# File 'quick_sight/cfn_dashboard.rb', line 23462 def self.jsii_properties { :column => "column", :data_path => "dataPath", :field => "field", } end |
Instance Method Details
#to_jsii ⇒ Object
23470 23471 23472 23473 23474 23475 23476 23477 23478 |
# File 'quick_sight/cfn_dashboard.rb', line 23470 def to_jsii result = {} result.merge!({ "column" => @column, "dataPath" => @data_path, "field" => @field, }) result.compact end |