Class: AWSCDK::QuickSight::CfnAnalysis::SpacingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::SpacingProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The configuration of spacing (often a margin or padding).
Instance Attribute Summary collapse
-
#bottom ⇒ String?
readonly
Define the bottom spacing.
-
#left ⇒ String?
readonly
Define the left spacing.
-
#right ⇒ String?
readonly
Define the right spacing.
-
#top ⇒ String?
readonly
Define the top spacing.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bottom: nil, left: nil, right: nil, top: nil) ⇒ SpacingProperty
constructor
A new instance of SpacingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bottom: nil, left: nil, right: nil, top: nil) ⇒ SpacingProperty
Returns a new instance of SpacingProperty.
27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 |
# File 'quick_sight/cfn_analysis.rb', line 27012 def initialize(bottom: nil, left: nil, right: nil, top: nil) @bottom = bottom Jsii::Type.check_type(@bottom, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bottom") unless @bottom.nil? @left = left Jsii::Type.check_type(@left, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "left") unless @left.nil? @right = right Jsii::Type.check_type(@right, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "right") unless @right.nil? @top = top Jsii::Type.check_type(@top, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "top") unless @top.nil? end |
Instance Attribute Details
#bottom ⇒ String? (readonly)
Define the bottom spacing.
27027 27028 27029 |
# File 'quick_sight/cfn_analysis.rb', line 27027 def bottom @bottom end |
#left ⇒ String? (readonly)
Define the left spacing.
27032 27033 27034 |
# File 'quick_sight/cfn_analysis.rb', line 27032 def left @left end |
#right ⇒ String? (readonly)
Define the right spacing.
27037 27038 27039 |
# File 'quick_sight/cfn_analysis.rb', line 27037 def right @right end |
#top ⇒ String? (readonly)
Define the top spacing.
27042 27043 27044 |
# File 'quick_sight/cfn_analysis.rb', line 27042 def top @top end |
Class Method Details
.jsii_properties ⇒ Object
27044 27045 27046 27047 27048 27049 27050 27051 |
# File 'quick_sight/cfn_analysis.rb', line 27044 def self.jsii_properties { :bottom => "bottom", :left => "left", :right => "right", :top => "top", } end |
Instance Method Details
#to_jsii ⇒ Object
27053 27054 27055 27056 27057 27058 27059 27060 27061 27062 |
# File 'quick_sight/cfn_analysis.rb', line 27053 def to_jsii result = {} result.merge!({ "bottom" => @bottom, "left" => @left, "right" => @right, "top" => @top, }) result.compact end |