Class: AWSCDK::QuickSight::CfnDashboard::AxisLinearScaleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::AxisLinearScaleProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The liner axis scale setup.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#step_count ⇒ Numeric?
readonly
The step count setup of a linear axis.
-
#step_size ⇒ Numeric?
readonly
The step size setup of a linear axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(step_count: nil, step_size: nil) ⇒ AxisLinearScaleProperty
constructor
A new instance of AxisLinearScaleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(step_count: nil, step_size: nil) ⇒ AxisLinearScaleProperty
Returns a new instance of AxisLinearScaleProperty.
1625 1626 1627 1628 1629 1630 |
# File 'quick_sight/cfn_dashboard.rb', line 1625 def initialize(step_count: nil, step_size: nil) @step_count = step_count Jsii::Type.check_type(@step_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "stepCount") unless @step_count.nil? @step_size = step_size Jsii::Type.check_type(@step_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "stepSize") unless @step_size.nil? end |
Instance Attribute Details
#step_count ⇒ Numeric? (readonly)
The step count setup of a linear axis.
1636 1637 1638 |
# File 'quick_sight/cfn_dashboard.rb', line 1636 def step_count @step_count end |
#step_size ⇒ Numeric? (readonly)
The step size setup of a linear axis.
1641 1642 1643 |
# File 'quick_sight/cfn_dashboard.rb', line 1641 def step_size @step_size end |
Class Method Details
.jsii_properties ⇒ Object
1643 1644 1645 1646 1647 1648 |
# File 'quick_sight/cfn_dashboard.rb', line 1643 def self.jsii_properties { :step_count => "stepCount", :step_size => "stepSize", } end |
Instance Method Details
#to_jsii ⇒ Object
1650 1651 1652 1653 1654 1655 1656 1657 |
# File 'quick_sight/cfn_dashboard.rb', line 1650 def to_jsii result = {} result.merge!({ "stepCount" => @step_count, "stepSize" => @step_size, }) result.compact end |