Class: AWSCDK::QuickSight::CfnAnalysis::BarChartSortConfigurationProperty

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

Overview

sort-configuration-description.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ BarChartSortConfigurationProperty

Returns a new instance of BarChartSortConfigurationProperty.

Parameters:



2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
# File 'quick_sight/cfn_analysis.rb', line 2225

def initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil)
  @category_items_limit = category_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit
  Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimit") unless @category_items_limit.nil?
  @category_sort = category_sort
  Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil?
  @color_items_limit = color_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**color_items_limit.transform_keys(&:to_sym)) : color_items_limit
  Jsii::Type.check_type(@color_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "colorItemsLimit") unless @color_items_limit.nil?
  @color_sort = color_sort
  Jsii::Type.check_type(@color_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "colorSort") unless @color_sort.nil?
  @small_multiples_limit_configuration = small_multiples_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**small_multiples_limit_configuration.transform_keys(&:to_sym)) : small_multiples_limit_configuration
  Jsii::Type.check_type(@small_multiples_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "smallMultiplesLimitConfiguration") unless @small_multiples_limit_configuration.nil?
  @small_multiples_sort = small_multiples_sort
  Jsii::Type.check_type(@small_multiples_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "smallMultiplesSort") unless @small_multiples_sort.nil?
end

Instance Attribute Details

#category_items_limitAWSCDK::IResolvable, ... (readonly)

The limit on the number of categories displayed in a bar chart.



2244
2245
2246
# File 'quick_sight/cfn_analysis.rb', line 2244

def category_items_limit
  @category_items_limit
end

#category_sortAWSCDK::IResolvable, ... (readonly)

The sort configuration of category fields.



2249
2250
2251
# File 'quick_sight/cfn_analysis.rb', line 2249

def category_sort
  @category_sort
end

#color_items_limitAWSCDK::IResolvable, ... (readonly)

The limit on the number of values displayed in a bar chart.



2254
2255
2256
# File 'quick_sight/cfn_analysis.rb', line 2254

def color_items_limit
  @color_items_limit
end

#color_sortAWSCDK::IResolvable, ... (readonly)

The sort configuration of color fields in a bar chart.



2259
2260
2261
# File 'quick_sight/cfn_analysis.rb', line 2259

def color_sort
  @color_sort
end

#small_multiples_limit_configurationAWSCDK::IResolvable, ... (readonly)

The limit on the number of small multiples panels that are displayed.



2264
2265
2266
# File 'quick_sight/cfn_analysis.rb', line 2264

def small_multiples_limit_configuration
  @small_multiples_limit_configuration
end

#small_multiples_sortAWSCDK::IResolvable, ... (readonly)

The sort configuration of the small multiples field.



2269
2270
2271
# File 'quick_sight/cfn_analysis.rb', line 2269

def small_multiples_sort
  @small_multiples_sort
end

Class Method Details

.jsii_propertiesObject



2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
# File 'quick_sight/cfn_analysis.rb', line 2271

def self.jsii_properties
  {
    :category_items_limit => "categoryItemsLimit",
    :category_sort => "categorySort",
    :color_items_limit => "colorItemsLimit",
    :color_sort => "colorSort",
    :small_multiples_limit_configuration => "smallMultiplesLimitConfiguration",
    :small_multiples_sort => "smallMultiplesSort",
  }
end

Instance Method Details

#to_jsiiObject



2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
# File 'quick_sight/cfn_analysis.rb', line 2282

def to_jsii
  result = {}
  result.merge!({
    "categoryItemsLimit" => @category_items_limit,
    "categorySort" => @category_sort,
    "colorItemsLimit" => @color_items_limit,
    "colorSort" => @color_sort,
    "smallMultiplesLimitConfiguration" => @small_multiples_limit_configuration,
    "smallMultiplesSort" => @small_multiples_sort,
  })
  result.compact
end