Class: AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty

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

Overview

The limit configuration of the visual display for an axis.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items_limit: nil, other_categories: nil) ⇒ ItemsLimitConfigurationProperty

Returns a new instance of ItemsLimitConfigurationProperty.

Parameters:

  • items_limit (Numeric, nil) (defaults to: nil)

    The limit on how many items of a field are showed in the chart.

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

    The Show other of an axis in the chart. Choose one of the following options:.



16329
16330
16331
16332
16333
16334
# File 'quick_sight/cfn_analysis.rb', line 16329

def initialize(items_limit: nil, other_categories: nil)
  @items_limit = items_limit
  Jsii::Type.check_type(@items_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "itemsLimit") unless @items_limit.nil?
  @other_categories = other_categories
  Jsii::Type.check_type(@other_categories, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "otherCategories") unless @other_categories.nil?
end

Instance Attribute Details

#items_limitNumeric? (readonly)

The limit on how many items of a field are showed in the chart.

For example, the number of slices that are displayed in a pie chart.



16342
16343
16344
# File 'quick_sight/cfn_analysis.rb', line 16342

def items_limit
  @items_limit
end

#other_categoriesString? (readonly)

The Show other of an axis in the chart. Choose one of the following options:.

  • INCLUDE
  • EXCLUDE


16350
16351
16352
# File 'quick_sight/cfn_analysis.rb', line 16350

def other_categories
  @other_categories
end

Class Method Details

.jsii_propertiesObject



16352
16353
16354
16355
16356
16357
# File 'quick_sight/cfn_analysis.rb', line 16352

def self.jsii_properties
  {
    :items_limit => "itemsLimit",
    :other_categories => "otherCategories",
  }
end

Instance Method Details

#to_jsiiObject



16359
16360
16361
16362
16363
16364
16365
16366
# File 'quick_sight/cfn_analysis.rb', line 16359

def to_jsii
  result = {}
  result.merge!({
    "itemsLimit" => @items_limit,
    "otherCategories" => @other_categories,
  })
  result.compact
end