Class: AWSCDK::QuickSight::CfnDataSet::GeoSpatialColumnGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::GeoSpatialColumnGroupProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
Geospatial column group that denotes a hierarchy.
Instance Attribute Summary collapse
-
#columns ⇒ Array<String>
readonly
Columns in this hierarchy.
-
#country_code ⇒ String?
readonly
Country code.
-
#name ⇒ String
readonly
A display name for the hierarchy.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(columns:, name:, country_code: nil) ⇒ GeoSpatialColumnGroupProperty
constructor
A new instance of GeoSpatialColumnGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(columns:, name:, country_code: nil) ⇒ GeoSpatialColumnGroupProperty
Returns a new instance of GeoSpatialColumnGroupProperty.
3224 3225 3226 3227 3228 3229 3230 3231 |
# File 'quick_sight/cfn_data_set.rb', line 3224 def initialize(columns:, name:, country_code: nil) @columns = columns Jsii::Type.check_type(@columns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "columns") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @country_code = country_code Jsii::Type.check_type(@country_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "countryCode") unless @country_code.nil? end |
Instance Attribute Details
#columns ⇒ Array<String> (readonly)
Columns in this hierarchy.
3237 3238 3239 |
# File 'quick_sight/cfn_data_set.rb', line 3237 def columns @columns end |
#country_code ⇒ String? (readonly)
Country code.
3247 3248 3249 |
# File 'quick_sight/cfn_data_set.rb', line 3247 def country_code @country_code end |
#name ⇒ String (readonly)
A display name for the hierarchy.
3242 3243 3244 |
# File 'quick_sight/cfn_data_set.rb', line 3242 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
3249 3250 3251 3252 3253 3254 3255 |
# File 'quick_sight/cfn_data_set.rb', line 3249 def self.jsii_properties { :columns => "columns", :name => "name", :country_code => "countryCode", } end |
Instance Method Details
#to_jsii ⇒ Object
3257 3258 3259 3260 3261 3262 3263 3264 3265 |
# File 'quick_sight/cfn_data_set.rb', line 3257 def to_jsii result = {} result.merge!({ "columns" => @columns, "name" => @name, "countryCode" => @country_code, }) result.compact end |