Class: AWSCDK::QuickSight::CfnDataSet::RenameColumnOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::RenameColumnOperationProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A transform operation that renames a column.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The name of the column to be renamed.
-
#new_column_name ⇒ String
readonly
The new name for the column.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, new_column_name:) ⇒ RenameColumnOperationProperty
constructor
A new instance of RenameColumnOperationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, new_column_name:) ⇒ RenameColumnOperationProperty
Returns a new instance of RenameColumnOperationProperty.
4836 4837 4838 4839 4840 4841 |
# File 'quick_sight/cfn_data_set.rb', line 4836 def initialize(column_name:, new_column_name:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @new_column_name = new_column_name Jsii::Type.check_type(@new_column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "newColumnName") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The name of the column to be renamed.
4847 4848 4849 |
# File 'quick_sight/cfn_data_set.rb', line 4847 def column_name @column_name end |
#new_column_name ⇒ String (readonly)
The new name for the column.
4852 4853 4854 |
# File 'quick_sight/cfn_data_set.rb', line 4852 def new_column_name @new_column_name end |
Class Method Details
.jsii_properties ⇒ Object
4854 4855 4856 4857 4858 4859 |
# File 'quick_sight/cfn_data_set.rb', line 4854 def self.jsii_properties { :column_name => "columnName", :new_column_name => "newColumnName", } end |
Instance Method Details
#to_jsii ⇒ Object
4861 4862 4863 4864 4865 4866 4867 4868 |
# File 'quick_sight/cfn_data_set.rb', line 4861 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "newColumnName" => @new_column_name, }) result.compact end |