Class: AWSCDK::QuickSight::CfnDataSet::InputColumnProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::InputColumnProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
Metadata for a column that is used as the input of a transform operation.
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
A unique identifier for the input column.
-
#name ⇒ String
readonly
The name of this column in the underlying data source.
-
#sub_type ⇒ String?
readonly
The sub data type of the column.
-
#type ⇒ String
readonly
The data type of the column.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, type:, id: nil, sub_type: nil) ⇒ InputColumnProperty
constructor
A new instance of InputColumnProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, type:, id: nil, sub_type: nil) ⇒ InputColumnProperty
Returns a new instance of InputColumnProperty.
3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 |
# File 'quick_sight/cfn_data_set.rb', line 3485 def initialize(name:, type:, id: nil, sub_type: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil? @sub_type = sub_type Jsii::Type.check_type(@sub_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "subType") unless @sub_type.nil? end |
Instance Attribute Details
#id ⇒ String? (readonly)
A unique identifier for the input column.
3510 3511 3512 |
# File 'quick_sight/cfn_data_set.rb', line 3510 def id @id end |
#name ⇒ String (readonly)
The name of this column in the underlying data source.
3500 3501 3502 |
# File 'quick_sight/cfn_data_set.rb', line 3500 def name @name end |
#sub_type ⇒ String? (readonly)
The sub data type of the column.
Sub types are only available for decimal columns that are part of a SPICE dataset.
3517 3518 3519 |
# File 'quick_sight/cfn_data_set.rb', line 3517 def sub_type @sub_type end |
#type ⇒ String (readonly)
The data type of the column.
3505 3506 3507 |
# File 'quick_sight/cfn_data_set.rb', line 3505 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
3519 3520 3521 3522 3523 3524 3525 3526 |
# File 'quick_sight/cfn_data_set.rb', line 3519 def self.jsii_properties { :name => "name", :type => "type", :id => "id", :sub_type => "subType", } end |
Instance Method Details
#to_jsii ⇒ Object
3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 |
# File 'quick_sight/cfn_data_set.rb', line 3528 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, "id" => @id, "subType" => @sub_type, }) result.compact end |