Class: AWSCDK::QuickSight::CfnAnalysis::ScatterPlotFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ScatterPlotFieldWellsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The field well configuration of a scatter plot.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#scatter_plot_categorically_aggregated_field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The aggregated field wells of a scatter plot.
-
#scatter_plot_unaggregated_field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The unaggregated field wells of a scatter plot.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(scatter_plot_categorically_aggregated_field_wells: nil, scatter_plot_unaggregated_field_wells: nil) ⇒ ScatterPlotFieldWellsProperty
constructor
A new instance of ScatterPlotFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(scatter_plot_categorically_aggregated_field_wells: nil, scatter_plot_unaggregated_field_wells: nil) ⇒ ScatterPlotFieldWellsProperty
Returns a new instance of ScatterPlotFieldWellsProperty.
25179 25180 25181 25182 25183 25184 |
# File 'quick_sight/cfn_analysis.rb', line 25179 def initialize(scatter_plot_categorically_aggregated_field_wells: nil, scatter_plot_unaggregated_field_wells: nil) @scatter_plot_categorically_aggregated_field_wells = scatter_plot_categorically_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ScatterPlotCategoricallyAggregatedFieldWellsProperty.new(**scatter_plot_categorically_aggregated_field_wells.transform_keys(&:to_sym)) : scatter_plot_categorically_aggregated_field_wells Jsii::Type.check_type(@scatter_plot_categorically_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNjYXR0ZXJQbG90Q2F0ZWdvcmljYWxseUFnZ3JlZ2F0ZWRGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "scatterPlotCategoricallyAggregatedFieldWells") unless @scatter_plot_categorically_aggregated_field_wells.nil? @scatter_plot_unaggregated_field_wells = scatter_plot_unaggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ScatterPlotUnaggregatedFieldWellsProperty.new(**scatter_plot_unaggregated_field_wells.transform_keys(&:to_sym)) : scatter_plot_unaggregated_field_wells Jsii::Type.check_type(@scatter_plot_unaggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNjYXR0ZXJQbG90VW5hZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "scatterPlotUnaggregatedFieldWells") unless @scatter_plot_unaggregated_field_wells.nil? end |
Instance Attribute Details
#scatter_plot_categorically_aggregated_field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The aggregated field wells of a scatter plot.
The x and y-axes of scatter plots with aggregated field wells are aggregated by category, label, or both.
25192 25193 25194 |
# File 'quick_sight/cfn_analysis.rb', line 25192 def scatter_plot_categorically_aggregated_field_wells @scatter_plot_categorically_aggregated_field_wells end |
#scatter_plot_unaggregated_field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The unaggregated field wells of a scatter plot.
The x and y-axes of these scatter plots are unaggregated.
25199 25200 25201 |
# File 'quick_sight/cfn_analysis.rb', line 25199 def scatter_plot_unaggregated_field_wells @scatter_plot_unaggregated_field_wells end |
Class Method Details
.jsii_properties ⇒ Object
25201 25202 25203 25204 25205 25206 |
# File 'quick_sight/cfn_analysis.rb', line 25201 def self.jsii_properties { :scatter_plot_categorically_aggregated_field_wells => "scatterPlotCategoricallyAggregatedFieldWells", :scatter_plot_unaggregated_field_wells => "scatterPlotUnaggregatedFieldWells", } end |
Instance Method Details
#to_jsii ⇒ Object
25208 25209 25210 25211 25212 25213 25214 25215 |
# File 'quick_sight/cfn_analysis.rb', line 25208 def to_jsii result = {} result.merge!({ "scatterPlotCategoricallyAggregatedFieldWells" => @scatter_plot_categorically_aggregated_field_wells, "scatterPlotUnaggregatedFieldWells" => @scatter_plot_unaggregated_field_wells, }) result.compact end |