Class: AWSCDK::QuickSight::CfnDataSet::PivotedLabelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::PivotedLabelProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
Specifies a label value to be pivoted into a separate column, including the new column name and identifier.
Instance Attribute Summary collapse
-
#label_name ⇒ String
readonly
The label value from the source data to be pivoted.
-
#new_column_id ⇒ String
readonly
A unique identifier for the new column created from this pivoted label.
-
#new_column_name ⇒ String
readonly
The name for the new column created from this pivoted label.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_name:, new_column_id:, new_column_name:) ⇒ PivotedLabelProperty
constructor
A new instance of PivotedLabelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_name:, new_column_id:, new_column_name:) ⇒ PivotedLabelProperty
Returns a new instance of PivotedLabelProperty.
4555 4556 4557 4558 4559 4560 4561 4562 |
# File 'quick_sight/cfn_data_set.rb', line 4555 def initialize(label_name:, new_column_id:, new_column_name:) @label_name = label_name Jsii::Type.check_type(@label_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "labelName") @new_column_id = new_column_id Jsii::Type.check_type(@new_column_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "newColumnId") @new_column_name = new_column_name Jsii::Type.check_type(@new_column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "newColumnName") end |
Instance Attribute Details
#label_name ⇒ String (readonly)
The label value from the source data to be pivoted.
4568 4569 4570 |
# File 'quick_sight/cfn_data_set.rb', line 4568 def label_name @label_name end |
#new_column_id ⇒ String (readonly)
A unique identifier for the new column created from this pivoted label.
4573 4574 4575 |
# File 'quick_sight/cfn_data_set.rb', line 4573 def new_column_id @new_column_id end |
#new_column_name ⇒ String (readonly)
The name for the new column created from this pivoted label.
4578 4579 4580 |
# File 'quick_sight/cfn_data_set.rb', line 4578 def new_column_name @new_column_name end |
Class Method Details
.jsii_properties ⇒ Object
4580 4581 4582 4583 4584 4585 4586 |
# File 'quick_sight/cfn_data_set.rb', line 4580 def self.jsii_properties { :label_name => "labelName", :new_column_id => "newColumnId", :new_column_name => "newColumnName", } end |
Instance Method Details
#to_jsii ⇒ Object
4588 4589 4590 4591 4592 4593 4594 4595 4596 |
# File 'quick_sight/cfn_data_set.rb', line 4588 def to_jsii result = {} result.merge!({ "labelName" => @label_name, "newColumnId" => @new_column_id, "newColumnName" => @new_column_name, }) result.compact end |