Class: AWSCDK::QuickSight::CfnAnalysis::ReferenceLineDataConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ReferenceLineDataConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The data configuration of the reference line.
Instance Attribute Summary collapse
-
#axis_binding ⇒ String?
readonly
The axis binding type of the reference line.
-
#dynamic_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The dynamic configuration of the reference line data configuration.
-
#series_type ⇒ String?
readonly
The series type of the reference line data configuration.
-
#static_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The static data configuration of the reference line data configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(axis_binding: nil, dynamic_configuration: nil, series_type: nil, static_configuration: nil) ⇒ ReferenceLineDataConfigurationProperty
constructor
A new instance of ReferenceLineDataConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(axis_binding: nil, dynamic_configuration: nil, series_type: nil, static_configuration: nil) ⇒ ReferenceLineDataConfigurationProperty
Returns a new instance of ReferenceLineDataConfigurationProperty.
23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 |
# File 'quick_sight/cfn_analysis.rb', line 23877 def initialize(axis_binding: nil, dynamic_configuration: nil, series_type: nil, static_configuration: nil) @axis_binding = axis_binding Jsii::Type.check_type(@axis_binding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axisBinding") unless @axis_binding.nil? @dynamic_configuration = dynamic_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ReferenceLineDynamicDataConfigurationProperty.new(**dynamic_configuration.transform_keys(&:to_sym)) : dynamic_configuration Jsii::Type.check_type(@dynamic_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJlZmVyZW5jZUxpbmVEeW5hbWljRGF0YUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "dynamicConfiguration") unless @dynamic_configuration.nil? @series_type = series_type Jsii::Type.check_type(@series_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "seriesType") unless @series_type.nil? @static_configuration = static_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ReferenceLineStaticDataConfigurationProperty.new(**static_configuration.transform_keys(&:to_sym)) : static_configuration Jsii::Type.check_type(@static_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJlZmVyZW5jZUxpbmVTdGF0aWNEYXRhQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "staticConfiguration") unless @static_configuration.nil? end |
Instance Attribute Details
#axis_binding ⇒ String? (readonly)
The axis binding type of the reference line. Choose one of the following options:.
PrimaryYSecondaryY
23895 23896 23897 |
# File 'quick_sight/cfn_analysis.rb', line 23895 def axis_binding @axis_binding end |
#dynamic_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The dynamic configuration of the reference line data configuration.
23900 23901 23902 |
# File 'quick_sight/cfn_analysis.rb', line 23900 def dynamic_configuration @dynamic_configuration end |
#series_type ⇒ String? (readonly)
The series type of the reference line data configuration. Choose one of the following options:.
BARLINE
23908 23909 23910 |
# File 'quick_sight/cfn_analysis.rb', line 23908 def series_type @series_type end |
#static_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The static data configuration of the reference line data configuration.
23913 23914 23915 |
# File 'quick_sight/cfn_analysis.rb', line 23913 def static_configuration @static_configuration end |
Class Method Details
.jsii_properties ⇒ Object
23915 23916 23917 23918 23919 23920 23921 23922 |
# File 'quick_sight/cfn_analysis.rb', line 23915 def self.jsii_properties { :axis_binding => "axisBinding", :dynamic_configuration => "dynamicConfiguration", :series_type => "seriesType", :static_configuration => "staticConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
23924 23925 23926 23927 23928 23929 23930 23931 23932 23933 |
# File 'quick_sight/cfn_analysis.rb', line 23924 def to_jsii result = {} result.merge!({ "axisBinding" => @axis_binding, "dynamicConfiguration" => @dynamic_configuration, "seriesType" => @series_type, "staticConfiguration" => @static_configuration, }) result.compact end |