Class: AWSCDK::QuickSight::CfnDataSet::TablePathElementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::TablePathElementProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
An element in the hierarchical path to a table within a data source, containing both name and identifier.
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
The unique identifier of the path element.
-
#name ⇒ String?
readonly
The name of the path element.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: nil, name: nil) ⇒ TablePathElementProperty
constructor
A new instance of TablePathElementProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id: nil, name: nil) ⇒ TablePathElementProperty
Returns a new instance of TablePathElementProperty.
5627 5628 5629 5630 5631 5632 |
# File 'quick_sight/cfn_data_set.rb', line 5627 def initialize(id: nil, name: nil) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#id ⇒ String? (readonly)
The unique identifier of the path element.
5638 5639 5640 |
# File 'quick_sight/cfn_data_set.rb', line 5638 def id @id end |
#name ⇒ String? (readonly)
The name of the path element.
5643 5644 5645 |
# File 'quick_sight/cfn_data_set.rb', line 5643 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
5645 5646 5647 5648 5649 5650 |
# File 'quick_sight/cfn_data_set.rb', line 5645 def self.jsii_properties { :id => "id", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
5652 5653 5654 5655 5656 5657 5658 5659 |
# File 'quick_sight/cfn_data_set.rb', line 5652 def to_jsii result = {} result.merge!({ "id" => @id, "name" => @name, }) result.compact end |