Class: AWSCDK::QuickSight::CfnTemplate::TableBorderOptionsProperty

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



25557
25558
25559
25560
25561
25562
25563
25564
# File 'quick_sight/cfn_template.rb', line 25557

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.



25570
25571
25572
# File 'quick_sight/cfn_template.rb', line 25570

def color
  @color
end

#styleString? (readonly)

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



25575
25576
25577
# File 'quick_sight/cfn_template.rb', line 25575

def style
  @style
end

#thicknessNumeric? (readonly)

The thickness of a table border.



25580
25581
25582
# File 'quick_sight/cfn_template.rb', line 25580

def thickness
  @thickness
end

Class Method Details

.jsii_propertiesObject



25582
25583
25584
25585
25586
25587
25588
# File 'quick_sight/cfn_template.rb', line 25582

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

Instance Method Details

#to_jsiiObject



25590
25591
25592
25593
25594
25595
25596
25597
25598
# File 'quick_sight/cfn_template.rb', line 25590

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