Class: AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty

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

Overview

The border options for a table border.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(color: nil, style: nil, thickness: nil) ⇒ TableBorderOptionsProperty

Returns a new instance of TableBorderOptionsProperty.

Parameters:

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

    The color of a table border.

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

    The style (none, solid) of a table border.

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

    The thickness of a table border.



28727
28728
28729
28730
28731
28732
28733
28734
# File 'quick_sight/cfn_dashboard.rb', line 28727

def initialize(color: nil, style: nil, thickness: nil)
  @color = color
  Jsii::Type.check_type(@color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "color") unless @color.nil?
  @style = style
  Jsii::Type.check_type(@style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "style") unless @style.nil?
  @thickness = thickness
  Jsii::Type.check_type(@thickness, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "thickness") unless @thickness.nil?
end

Instance Attribute Details

#colorString? (readonly)

The color of a table border.



28740
28741
28742
# File 'quick_sight/cfn_dashboard.rb', line 28740

def color
  @color
end

#styleString? (readonly)

The style (none, solid) of a table border.



28745
28746
28747
# File 'quick_sight/cfn_dashboard.rb', line 28745

def style
  @style
end

#thicknessNumeric? (readonly)

The thickness of a table border.



28750
28751
28752
# File 'quick_sight/cfn_dashboard.rb', line 28750

def thickness
  @thickness
end

Class Method Details

.jsii_propertiesObject



28752
28753
28754
28755
28756
28757
28758
# File 'quick_sight/cfn_dashboard.rb', line 28752

def self.jsii_properties
  {
    :color => "color",
    :style => "style",
    :thickness => "thickness",
  }
end

Instance Method Details

#to_jsiiObject



28760
28761
28762
28763
28764
28765
28766
28767
28768
# File 'quick_sight/cfn_dashboard.rb', line 28760

def to_jsii
  result = {}
  result.merge!({
    "color" => @color,
    "style" => @style,
    "thickness" => @thickness,
  })
  result.compact
end