Class: AWSCDK::QuickSight::CfnAnalysis::FieldSeriesItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::FieldSeriesItemProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The field series item configuration of a line chart.
Instance Attribute Summary collapse
-
#axis_binding ⇒ String
readonly
The axis that you are binding the field to.
-
#field_id ⇒ String
readonly
The field ID of the field for which you are setting the axis binding.
-
#settings ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of line series associated to the field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(axis_binding:, field_id:, settings: nil) ⇒ FieldSeriesItemProperty
constructor
A new instance of FieldSeriesItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(axis_binding:, field_id:, settings: nil) ⇒ FieldSeriesItemProperty
Returns a new instance of FieldSeriesItemProperty.
9097 9098 9099 9100 9101 9102 9103 9104 |
# File 'quick_sight/cfn_analysis.rb', line 9097 def initialize(axis_binding:, field_id:, settings: nil) @axis_binding = axis_binding Jsii::Type.check_type(@axis_binding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axisBinding") @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") @settings = settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::LineChartSeriesSettingsProperty.new(**settings.transform_keys(&:to_sym)) : settings Jsii::Type.check_type(@settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxpbmVDaGFydFNlcmllc1NldHRpbmdzUHJvcGVydHkifV19fQ==")), "settings") unless @settings.nil? end |
Instance Attribute Details
#axis_binding ⇒ String (readonly)
The axis that you are binding the field to.
9110 9111 9112 |
# File 'quick_sight/cfn_analysis.rb', line 9110 def axis_binding @axis_binding end |
#field_id ⇒ String (readonly)
The field ID of the field for which you are setting the axis binding.
9115 9116 9117 |
# File 'quick_sight/cfn_analysis.rb', line 9115 def field_id @field_id end |
#settings ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of line series associated to the field.
9120 9121 9122 |
# File 'quick_sight/cfn_analysis.rb', line 9120 def settings @settings end |
Class Method Details
.jsii_properties ⇒ Object
9122 9123 9124 9125 9126 9127 9128 |
# File 'quick_sight/cfn_analysis.rb', line 9122 def self.jsii_properties { :axis_binding => "axisBinding", :field_id => "fieldId", :settings => "settings", } end |
Instance Method Details
#to_jsii ⇒ Object
9130 9131 9132 9133 9134 9135 9136 9137 9138 |
# File 'quick_sight/cfn_analysis.rb', line 9130 def to_jsii result = {} result.merge!({ "axisBinding" => @axis_binding, "fieldId" => @field_id, "settings" => @settings, }) result.compact end |