Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialNullSymbolStyleProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The symbol style for null data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fill_color: nil, stroke_color: nil, stroke_width: nil) ⇒ GeospatialNullSymbolStyleProperty

Returns a new instance of GeospatialNullSymbolStyleProperty.

Parameters:

  • fill_color (String, nil) (defaults to: nil)

    The color and opacity values for the fill color.

  • stroke_color (String, nil) (defaults to: nil)

    The color and opacity values for the stroke color.

  • stroke_width (Numeric, nil) (defaults to: nil)

    The width of the border stroke.



14134
14135
14136
14137
14138
14139
14140
14141
# File 'quick_sight/cfn_analysis.rb', line 14134

def initialize(fill_color: nil, stroke_color: nil, stroke_width: nil)
  @fill_color = fill_color
  Jsii::Type.check_type(@fill_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fillColor") unless @fill_color.nil?
  @stroke_color = stroke_color
  Jsii::Type.check_type(@stroke_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "strokeColor") unless @stroke_color.nil?
  @stroke_width = stroke_width
  Jsii::Type.check_type(@stroke_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "strokeWidth") unless @stroke_width.nil?
end

Instance Attribute Details

#fill_colorString? (readonly)

The color and opacity values for the fill color.



14147
14148
14149
# File 'quick_sight/cfn_analysis.rb', line 14147

def fill_color
  @fill_color
end

#stroke_colorString? (readonly)

The color and opacity values for the stroke color.



14152
14153
14154
# File 'quick_sight/cfn_analysis.rb', line 14152

def stroke_color
  @stroke_color
end

#stroke_widthNumeric? (readonly)

The width of the border stroke.



14157
14158
14159
# File 'quick_sight/cfn_analysis.rb', line 14157

def stroke_width
  @stroke_width
end

Class Method Details

.jsii_propertiesObject



14159
14160
14161
14162
14163
14164
14165
# File 'quick_sight/cfn_analysis.rb', line 14159

def self.jsii_properties
  {
    :fill_color => "fillColor",
    :stroke_color => "strokeColor",
    :stroke_width => "strokeWidth",
  }
end

Instance Method Details

#to_jsiiObject



14167
14168
14169
14170
14171
14172
14173
14174
14175
# File 'quick_sight/cfn_analysis.rb', line 14167

def to_jsii
  result = {}
  result.merge!({
    "fillColor" => @fill_color,
    "strokeColor" => @stroke_color,
    "strokeWidth" => @stroke_width,
  })
  result.compact
end