Class: AWSCDK::QuickSight::CfnAnalysis::ParameterSliderControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ParameterSliderControlProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A control to display a horizontal toggle bar.
This is used to change a value by sliding the toggle.
Instance Attribute Summary collapse
-
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#maximum_value ⇒ Numeric
readonly
The larger value that is displayed at the right of the slider.
-
#minimum_value ⇒ Numeric
readonly
The smaller value that is displayed at the left of the slider.
-
#parameter_control_id ⇒ String
readonly
The ID of the
ParameterSliderControl. -
#source_parameter_name ⇒ String
readonly
The source parameter name of the
ParameterSliderControl. -
#step_size ⇒ Numeric
readonly
The number of increments that the slider bar is divided into.
-
#title ⇒ String
readonly
The title of the
ParameterSliderControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(maximum_value:, minimum_value:, parameter_control_id:, source_parameter_name:, step_size:, title:, display_options: nil) ⇒ ParameterSliderControlProperty
constructor
A new instance of ParameterSliderControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(maximum_value:, minimum_value:, parameter_control_id:, source_parameter_name:, step_size:, title:, display_options: nil) ⇒ ParameterSliderControlProperty
Returns a new instance of ParameterSliderControlProperty.
20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 |
# File 'quick_sight/cfn_analysis.rb', line 20557 def initialize(maximum_value:, minimum_value:, parameter_control_id:, source_parameter_name:, step_size:, title:, display_options: nil) @maximum_value = maximum_value Jsii::Type.check_type(@maximum_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maximumValue") @minimum_value = minimum_value Jsii::Type.check_type(@minimum_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minimumValue") @parameter_control_id = parameter_control_id Jsii::Type.check_type(@parameter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterControlId") @source_parameter_name = source_parameter_name Jsii::Type.check_type(@source_parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceParameterName") @step_size = step_size Jsii::Type.check_type(@step_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "stepSize") @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::SliderControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNsaWRlckNvbnRyb2xEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "displayOptions") unless @display_options.nil? end |
Instance Attribute Details
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
20611 20612 20613 |
# File 'quick_sight/cfn_analysis.rb', line 20611 def @display_options end |
#maximum_value ⇒ Numeric (readonly)
Default: - 0
The larger value that is displayed at the right of the slider.
20579 20580 20581 |
# File 'quick_sight/cfn_analysis.rb', line 20579 def maximum_value @maximum_value end |
#minimum_value ⇒ Numeric (readonly)
Default: - 0
The smaller value that is displayed at the left of the slider.
20585 20586 20587 |
# File 'quick_sight/cfn_analysis.rb', line 20585 def minimum_value @minimum_value end |
#parameter_control_id ⇒ String (readonly)
The ID of the ParameterSliderControl .
20590 20591 20592 |
# File 'quick_sight/cfn_analysis.rb', line 20590 def parameter_control_id @parameter_control_id end |
#source_parameter_name ⇒ String (readonly)
The source parameter name of the ParameterSliderControl .
20595 20596 20597 |
# File 'quick_sight/cfn_analysis.rb', line 20595 def source_parameter_name @source_parameter_name end |
#step_size ⇒ Numeric (readonly)
Default: - 0
The number of increments that the slider bar is divided into.
20601 20602 20603 |
# File 'quick_sight/cfn_analysis.rb', line 20601 def step_size @step_size end |
#title ⇒ String (readonly)
The title of the ParameterSliderControl .
20606 20607 20608 |
# File 'quick_sight/cfn_analysis.rb', line 20606 def title @title end |
Class Method Details
.jsii_properties ⇒ Object
20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 |
# File 'quick_sight/cfn_analysis.rb', line 20613 def self.jsii_properties { :maximum_value => "maximumValue", :minimum_value => "minimumValue", :parameter_control_id => "parameterControlId", :source_parameter_name => "sourceParameterName", :step_size => "stepSize", :title => "title", :display_options => "displayOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 |
# File 'quick_sight/cfn_analysis.rb', line 20625 def to_jsii result = {} result.merge!({ "maximumValue" => @maximum_value, "minimumValue" => @minimum_value, "parameterControlId" => @parameter_control_id, "sourceParameterName" => @source_parameter_name, "stepSize" => @step_size, "title" => @title, "displayOptions" => @display_options, }) result.compact end |