Class: AWSCDK::QuickSight::CfnDashboard::BinWidthOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::BinWidthOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the bin width of a histogram.
Instance Attribute Summary collapse
-
#bin_count_limit ⇒ Numeric?
readonly
The options that determine the bin count limit.
-
#value ⇒ Numeric?
readonly
The options that determine the bin width value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bin_count_limit: nil, value: nil) ⇒ BinWidthOptionsProperty
constructor
A new instance of BinWidthOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bin_count_limit: nil, value: nil) ⇒ BinWidthOptionsProperty
Returns a new instance of BinWidthOptionsProperty.
2309 2310 2311 2312 2313 2314 |
# File 'quick_sight/cfn_dashboard.rb', line 2309 def initialize(bin_count_limit: nil, value: nil) @bin_count_limit = bin_count_limit Jsii::Type.check_type(@bin_count_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "binCountLimit") unless @bin_count_limit.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#bin_count_limit ⇒ Numeric? (readonly)
The options that determine the bin count limit.
2320 2321 2322 |
# File 'quick_sight/cfn_dashboard.rb', line 2320 def bin_count_limit @bin_count_limit end |
#value ⇒ Numeric? (readonly)
The options that determine the bin width value.
2325 2326 2327 |
# File 'quick_sight/cfn_dashboard.rb', line 2325 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
2327 2328 2329 2330 2331 2332 |
# File 'quick_sight/cfn_dashboard.rb', line 2327 def self.jsii_properties { :bin_count_limit => "binCountLimit", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
2334 2335 2336 2337 2338 2339 2340 2341 |
# File 'quick_sight/cfn_dashboard.rb', line 2334 def to_jsii result = {} result.merge!({ "binCountLimit" => @bin_count_limit, "value" => @value, }) result.compact end |