Class: AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The limit configuration of the visual display for an axis.
Instance Attribute Summary collapse
-
#items_limit ⇒ Numeric?
readonly
The limit on how many items of a field are showed in the chart.
-
#other_categories ⇒ String?
readonly
The
Show otherof an axis in the chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(items_limit: nil, other_categories: nil) ⇒ ItemsLimitConfigurationProperty
constructor
A new instance of ItemsLimitConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(items_limit: nil, other_categories: nil) ⇒ ItemsLimitConfigurationProperty
Returns a new instance of ItemsLimitConfigurationProperty.
14736 14737 14738 14739 14740 14741 |
# File 'quick_sight/cfn_template.rb', line 14736 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_limit ⇒ Numeric? (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.
14749 14750 14751 |
# File 'quick_sight/cfn_template.rb', line 14749 def items_limit @items_limit end |
#other_categories ⇒ String? (readonly)
The Show other of an axis in the chart. Choose one of the following options:.
INCLUDEEXCLUDE
14757 14758 14759 |
# File 'quick_sight/cfn_template.rb', line 14757 def other_categories @other_categories end |
Class Method Details
.jsii_properties ⇒ Object
14759 14760 14761 14762 14763 14764 |
# File 'quick_sight/cfn_template.rb', line 14759 def self.jsii_properties { :items_limit => "itemsLimit", :other_categories => "otherCategories", } end |
Instance Method Details
#to_jsii ⇒ Object
14766 14767 14768 14769 14770 14771 14772 14773 |
# File 'quick_sight/cfn_template.rb', line 14766 def to_jsii result = {} result.merge!({ "itemsLimit" => @items_limit, "otherCategories" => @other_categories, }) result.compact end |