Class: AWSCDK::QuickSight::CfnTemplate::ReferenceLineStyleConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ReferenceLineStyleConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
22313 22314 22315 22316 22317 22318 |
# File 'quick_sight/cfn_template.rb', line 22313 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.
22324 22325 22326 |
# File 'quick_sight/cfn_template.rb', line 22324 def color @color end |
#pattern ⇒ String? (readonly)
The pattern type of the line style. Choose one of the following options:.
SOLIDDASHEDDOTTED
22333 22334 22335 |
# File 'quick_sight/cfn_template.rb', line 22333 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
22335 22336 22337 22338 22339 22340 |
# File 'quick_sight/cfn_template.rb', line 22335 def self.jsii_properties { :color => "color", :pattern => "pattern", } end |
Instance Method Details
#to_jsii ⇒ Object
22342 22343 22344 22345 22346 22347 22348 22349 |
# File 'quick_sight/cfn_template.rb', line 22342 def to_jsii result = {} result.merge!({ "color" => @color, "pattern" => @pattern, }) result.compact end |