Class: AWSCDK::QuickSight::CfnAnalysis::PieChartAggregatedFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PieChartAggregatedFieldWellsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The field well configuration of a pie chart.
Instance Attribute Summary collapse
-
#category ⇒ AWSCDK::IResolvable, ...
readonly
The category (group/color) field wells of a pie chart.
-
#small_multiples ⇒ AWSCDK::IResolvable, ...
readonly
The small multiples field well of a pie chart.
-
#values ⇒ AWSCDK::IResolvable, ...
readonly
The value field wells of a pie chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category: nil, small_multiples: nil, values: nil) ⇒ PieChartAggregatedFieldWellsProperty
constructor
A new instance of PieChartAggregatedFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category: nil, small_multiples: nil, values: nil) ⇒ PieChartAggregatedFieldWellsProperty
Returns a new instance of PieChartAggregatedFieldWellsProperty.
21148 21149 21150 21151 21152 21153 21154 21155 |
# File 'quick_sight/cfn_analysis.rb', line 21148 def initialize(category: nil, small_multiples: nil, values: nil) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "category") unless @category.nil? @small_multiples = small_multiples Jsii::Type.check_type(@small_multiples, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "smallMultiples") unless @small_multiples.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#category ⇒ AWSCDK::IResolvable, ... (readonly)
The category (group/color) field wells of a pie chart.
21161 21162 21163 |
# File 'quick_sight/cfn_analysis.rb', line 21161 def category @category end |
#small_multiples ⇒ AWSCDK::IResolvable, ... (readonly)
The small multiples field well of a pie chart.
21166 21167 21168 |
# File 'quick_sight/cfn_analysis.rb', line 21166 def small_multiples @small_multiples end |
#values ⇒ AWSCDK::IResolvable, ... (readonly)
The value field wells of a pie chart.
Values are aggregated based on categories.
21173 21174 21175 |
# File 'quick_sight/cfn_analysis.rb', line 21173 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
21175 21176 21177 21178 21179 21180 21181 |
# File 'quick_sight/cfn_analysis.rb', line 21175 def self.jsii_properties { :category => "category", :small_multiples => "smallMultiples", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
21183 21184 21185 21186 21187 21188 21189 21190 21191 |
# File 'quick_sight/cfn_analysis.rb', line 21183 def to_jsii result = {} result.merge!({ "category" => @category, "smallMultiples" => @small_multiples, "values" => @values, }) result.compact end |