Class: AWSCDK::QuickSight::CfnAnalysis::BinWidthOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::BinWidthOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
2443 2444 2445 2446 2447 2448 |
# File 'quick_sight/cfn_analysis.rb', line 2443 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.
2454 2455 2456 |
# File 'quick_sight/cfn_analysis.rb', line 2454 def bin_count_limit @bin_count_limit end |
#value ⇒ Numeric? (readonly)
The options that determine the bin width value.
2459 2460 2461 |
# File 'quick_sight/cfn_analysis.rb', line 2459 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
2461 2462 2463 2464 2465 2466 |
# File 'quick_sight/cfn_analysis.rb', line 2461 def self.jsii_properties { :bin_count_limit => "binCountLimit", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
2468 2469 2470 2471 2472 2473 2474 2475 |
# File 'quick_sight/cfn_analysis.rb', line 2468 def to_jsii result = {} result.merge!({ "binCountLimit" => @bin_count_limit, "value" => @value, }) result.compact end |