Class: AWSCDK::QuickSight::CfnAnalysis::DefaultSliderControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DefaultSliderControlOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The default options that correspond to the Slider filter control type.
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.
-
#step_size ⇒ Numeric
readonly
The number of increments that the slider bar is divided into.
-
#type ⇒ String?
readonly
The type of the
DefaultSliderControlOptions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(maximum_value:, minimum_value:, step_size:, display_options: nil, type: nil) ⇒ DefaultSliderControlOptionsProperty
constructor
A new instance of DefaultSliderControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(maximum_value:, minimum_value:, step_size:, display_options: nil, type: nil) ⇒ DefaultSliderControlOptionsProperty
Returns a new instance of DefaultSliderControlOptionsProperty.
8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 |
# File 'quick_sight/cfn_analysis.rb', line 8260 def initialize(maximum_value:, minimum_value:, step_size:, display_options: nil, type: 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") @step_size = step_size Jsii::Type.check_type(@step_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "stepSize") @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? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
8295 8296 8297 |
# File 'quick_sight/cfn_analysis.rb', line 8295 def @display_options end |
#maximum_value ⇒ Numeric (readonly)
Default: - 0
The larger value that is displayed at the right of the slider.
8278 8279 8280 |
# File 'quick_sight/cfn_analysis.rb', line 8278 def maximum_value @maximum_value end |
#minimum_value ⇒ Numeric (readonly)
Default: - 0
The smaller value that is displayed at the left of the slider.
8284 8285 8286 |
# File 'quick_sight/cfn_analysis.rb', line 8284 def minimum_value @minimum_value end |
#step_size ⇒ Numeric (readonly)
Default: - 0
The number of increments that the slider bar is divided into.
8290 8291 8292 |
# File 'quick_sight/cfn_analysis.rb', line 8290 def step_size @step_size end |
#type ⇒ String? (readonly)
The type of the DefaultSliderControlOptions . Choose one of the following options:.
SINGLE_POINT: Filter against(equals) a single data point.RANGE: Filter data that is in a specified range.
8303 8304 8305 |
# File 'quick_sight/cfn_analysis.rb', line 8303 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
8305 8306 8307 8308 8309 8310 8311 8312 8313 |
# File 'quick_sight/cfn_analysis.rb', line 8305 def self.jsii_properties { :maximum_value => "maximumValue", :minimum_value => "minimumValue", :step_size => "stepSize", :display_options => "displayOptions", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 |
# File 'quick_sight/cfn_analysis.rb', line 8315 def to_jsii result = {} result.merge!({ "maximumValue" => @maximum_value, "minimumValue" => @minimum_value, "stepSize" => @step_size, "displayOptions" => @display_options, "type" => @type, }) result.compact end |