Class: AWSCDK::QuickSight::CfnAnalysis::TableBorderOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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.



27689
27690
27691
27692
27693
27694
27695
27696
# File 'quick_sight/cfn_analysis.rb', line 27689

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.



27702
27703
27704
# File 'quick_sight/cfn_analysis.rb', line 27702

def color
  @color
end

#styleString? (readonly)

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



27707
27708
27709
# File 'quick_sight/cfn_analysis.rb', line 27707

def style
  @style
end

#thicknessNumeric? (readonly)

The thickness of a table border.



27712
27713
27714
# File 'quick_sight/cfn_analysis.rb', line 27712

def thickness
  @thickness
end

Class Method Details

.jsii_propertiesObject



27714
27715
27716
27717
27718
27719
27720
# File 'quick_sight/cfn_analysis.rb', line 27714

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

Instance Method Details

#to_jsiiObject



27722
27723
27724
27725
27726
27727
27728
27729
27730
# File 'quick_sight/cfn_analysis.rb', line 27722

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