Class: AWSCDK::QuickSight::CfnAnalysis::DataPathValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DataPathValueProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The data path that needs to be sorted.
Instance Attribute Summary collapse
-
#data_path_type ⇒ AWSCDK::IResolvable, ...
readonly
The type configuration of the field.
-
#field_id ⇒ String?
readonly
The field ID of the field that needs to be sorted.
-
#field_value ⇒ String?
readonly
The actual value of the field that needs to be sorted.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_path_type: nil, field_id: nil, field_value: nil) ⇒ DataPathValueProperty
constructor
A new instance of DataPathValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_path_type: nil, field_id: nil, field_value: nil) ⇒ DataPathValueProperty
Returns a new instance of DataPathValueProperty.
6725 6726 6727 6728 6729 6730 6731 6732 |
# File 'quick_sight/cfn_analysis.rb', line 6725 def initialize(data_path_type: nil, field_id: nil, field_value: nil) @data_path_type = data_path_type.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DataPathTypeProperty.new(**data_path_type.transform_keys(&:to_sym)) : data_path_type Jsii::Type.check_type(@data_path_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRhdGFQYXRoVHlwZVByb3BlcnR5In1dfX0=")), "dataPathType") unless @data_path_type.nil? @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") unless @field_id.nil? @field_value = field_value Jsii::Type.check_type(@field_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldValue") unless @field_value.nil? end |
Instance Attribute Details
#data_path_type ⇒ AWSCDK::IResolvable, ... (readonly)
The type configuration of the field.
6738 6739 6740 |
# File 'quick_sight/cfn_analysis.rb', line 6738 def data_path_type @data_path_type end |
#field_id ⇒ String? (readonly)
The field ID of the field that needs to be sorted.
6743 6744 6745 |
# File 'quick_sight/cfn_analysis.rb', line 6743 def field_id @field_id end |
#field_value ⇒ String? (readonly)
The actual value of the field that needs to be sorted.
6748 6749 6750 |
# File 'quick_sight/cfn_analysis.rb', line 6748 def field_value @field_value end |
Class Method Details
.jsii_properties ⇒ Object
6750 6751 6752 6753 6754 6755 6756 |
# File 'quick_sight/cfn_analysis.rb', line 6750 def self.jsii_properties { :data_path_type => "dataPathType", :field_id => "fieldId", :field_value => "fieldValue", } end |
Instance Method Details
#to_jsii ⇒ Object
6758 6759 6760 6761 6762 6763 6764 6765 6766 |
# File 'quick_sight/cfn_analysis.rb', line 6758 def to_jsii result = {} result.merge!({ "dataPathType" => @data_path_type, "fieldId" => @field_id, "fieldValue" => @field_value, }) result.compact end |