Class: AWSCDK::QuickSight::CfnTemplate::ColumnSchemaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ColumnSchemaProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The column schema.
Instance Attribute Summary collapse
-
#data_type ⇒ String?
readonly
The data type of the column schema.
-
#geographic_role ⇒ String?
readonly
The geographic role of the column schema.
-
#name ⇒ String?
readonly
The name of the column schema.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_type: nil, geographic_role: nil, name: nil) ⇒ ColumnSchemaProperty
constructor
A new instance of ColumnSchemaProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_type: nil, geographic_role: nil, name: nil) ⇒ ColumnSchemaProperty
Returns a new instance of ColumnSchemaProperty.
3960 3961 3962 3963 3964 3965 3966 3967 |
# File 'quick_sight/cfn_template.rb', line 3960 def initialize(data_type: nil, geographic_role: nil, name: nil) @data_type = data_type Jsii::Type.check_type(@data_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataType") unless @data_type.nil? @geographic_role = geographic_role Jsii::Type.check_type(@geographic_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "geographicRole") unless @geographic_role.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#data_type ⇒ String? (readonly)
The data type of the column schema.
3973 3974 3975 |
# File 'quick_sight/cfn_template.rb', line 3973 def data_type @data_type end |
#geographic_role ⇒ String? (readonly)
The geographic role of the column schema.
3978 3979 3980 |
# File 'quick_sight/cfn_template.rb', line 3978 def geographic_role @geographic_role end |
#name ⇒ String? (readonly)
The name of the column schema.
3983 3984 3985 |
# File 'quick_sight/cfn_template.rb', line 3983 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
3985 3986 3987 3988 3989 3990 3991 |
# File 'quick_sight/cfn_template.rb', line 3985 def self.jsii_properties { :data_type => "dataType", :geographic_role => "geographicRole", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
3993 3994 3995 3996 3997 3998 3999 4000 4001 |
# File 'quick_sight/cfn_template.rb', line 3993 def to_jsii result = {} result.merge!({ "dataType" => @data_type, "geographicRole" => @geographic_role, "name" => @name, }) result.compact end |