Class: AWSCDK::QuickSight::CfnDashboard::ReferenceLineStyleConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ReferenceLineStyleConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The style configuration of the reference line.
Instance Attribute Summary collapse
-
#color ⇒ String?
readonly
The hex color of the reference line.
-
#pattern ⇒ String?
readonly
The pattern type of the line style.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color: nil, pattern: nil) ⇒ ReferenceLineStyleConfigurationProperty
constructor
A new instance of ReferenceLineStyleConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color: nil, pattern: nil) ⇒ ReferenceLineStyleConfigurationProperty
Returns a new instance of ReferenceLineStyleConfigurationProperty.
25159 25160 25161 25162 25163 25164 |
# File 'quick_sight/cfn_dashboard.rb', line 25159 def initialize(color: nil, pattern: nil) @color = color Jsii::Type.check_type(@color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "color") unless @color.nil? @pattern = pattern Jsii::Type.check_type(@pattern, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pattern") unless @pattern.nil? end |
Instance Attribute Details
#color ⇒ String? (readonly)
The hex color of the reference line.
25170 25171 25172 |
# File 'quick_sight/cfn_dashboard.rb', line 25170 def color @color end |
#pattern ⇒ String? (readonly)
The pattern type of the line style. Choose one of the following options:.
SOLIDDASHEDDOTTED
25179 25180 25181 |
# File 'quick_sight/cfn_dashboard.rb', line 25179 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
25181 25182 25183 25184 25185 25186 |
# File 'quick_sight/cfn_dashboard.rb', line 25181 def self.jsii_properties { :color => "color", :pattern => "pattern", } end |
Instance Method Details
#to_jsii ⇒ Object
25188 25189 25190 25191 25192 25193 25194 25195 |
# File 'quick_sight/cfn_dashboard.rb', line 25188 def to_jsii result = {} result.merge!({ "color" => @color, "pattern" => @pattern, }) result.compact end |