Class: AWSCDK::QuickSight::CfnDataSet::GeoSpatialColumnGroupProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_data_set.rb

Overview

Geospatial column group that denotes a hierarchy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(columns:, name:, country_code: nil) ⇒ GeoSpatialColumnGroupProperty

Returns a new instance of GeoSpatialColumnGroupProperty.

Parameters:

  • columns (Array<String>)

    Columns in this hierarchy.

  • name (String)

    A display name for the hierarchy.

  • country_code (String, nil) (defaults to: nil)

    Country code.



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

#columnsArray<String> (readonly)

Columns in this hierarchy.



3237
3238
3239
# File 'quick_sight/cfn_data_set.rb', line 3237

def columns
  @columns
end

#country_codeString? (readonly)

Country code.



3247
3248
3249
# File 'quick_sight/cfn_data_set.rb', line 3247

def country_code
  @country_code
end

#nameString (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_propertiesObject



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_jsiiObject



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