Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialSolidColorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::GeospatialSolidColorProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The definition for a solid color.
Instance Attribute Summary collapse
-
#color ⇒ String
readonly
The color and opacity values for the color.
-
#state ⇒ String?
readonly
Enables and disables the view state of the color.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color:, state: nil) ⇒ GeospatialSolidColorProperty
constructor
A new instance of GeospatialSolidColorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color:, state: nil) ⇒ GeospatialSolidColorProperty
Returns a new instance of GeospatialSolidColorProperty.
14424 14425 14426 14427 14428 14429 |
# File 'quick_sight/cfn_analysis.rb', line 14424 def initialize(color:, state: nil) @color = color Jsii::Type.check_type(@color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "color") @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") unless @state.nil? end |
Instance Attribute Details
#color ⇒ String (readonly)
The color and opacity values for the color.
14435 14436 14437 |
# File 'quick_sight/cfn_analysis.rb', line 14435 def color @color end |
#state ⇒ String? (readonly)
Enables and disables the view state of the color.
14440 14441 14442 |
# File 'quick_sight/cfn_analysis.rb', line 14440 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
14442 14443 14444 14445 14446 14447 |
# File 'quick_sight/cfn_analysis.rb', line 14442 def self.jsii_properties { :color => "color", :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
14449 14450 14451 14452 14453 14454 14455 14456 |
# File 'quick_sight/cfn_analysis.rb', line 14449 def to_jsii result = {} result.merge!({ "color" => @color, "state" => @state, }) result.compact end |