Class: AWSCDK::QuickSight::CfnDataSet::TablePathElementProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, name: nil) ⇒ TablePathElementProperty

Returns a new instance of TablePathElementProperty.

Parameters:

  • id (String, nil) (defaults to: nil)

    The unique identifier of the path element.

  • name (String, nil) (defaults to: nil)

    The name of the path element.



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

#idString? (readonly)

The unique identifier of the path element.



5638
5639
5640
# File 'quick_sight/cfn_data_set.rb', line 5638

def id
  @id
end

#nameString? (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_propertiesObject



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_jsiiObject



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