Class: AWSCDK::QuickSight::CfnAnalysis::BinWidthOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The options that determine the bin width of a histogram.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bin_count_limit: nil, value: nil) ⇒ BinWidthOptionsProperty

Returns a new instance of BinWidthOptionsProperty.

Parameters:

  • bin_count_limit (Numeric, nil) (defaults to: nil)

    The options that determine the bin count limit.

  • value (Numeric, nil) (defaults to: nil)

    The options that determine the bin width value.



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_limitNumeric? (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

#valueNumeric? (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_propertiesObject



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_jsiiObject



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