Class: AWSCDK::QuickSight::CfnAnalysis::MissingDataConfigurationProperty

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

Overview

The configuration options that determine how missing data is treated during the rendering of a line chart.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(treatment_option: nil) ⇒ MissingDataConfigurationProperty

Returns a new instance of MissingDataConfigurationProperty.

Parameters:

  • treatment_option (String, nil) (defaults to: nil)

    The treatment option that determines how missing data should be rendered. Choose from the following options:.



18932
18933
18934
18935
# File 'quick_sight/cfn_analysis.rb', line 18932

def initialize(treatment_option: nil)
  @treatment_option = treatment_option
  Jsii::Type.check_type(@treatment_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "treatmentOption") unless @treatment_option.nil?
end

Instance Attribute Details

#treatment_optionString? (readonly)

The treatment option that determines how missing data should be rendered. Choose from the following options:.

  • INTERPOLATE : Interpolate missing values between the prior and the next known value.
  • SHOW_AS_ZERO : Show missing values as the value 0 .
  • SHOW_AS_BLANK : Display a blank space when rendering missing data.


18945
18946
18947
# File 'quick_sight/cfn_analysis.rb', line 18945

def treatment_option
  @treatment_option
end

Class Method Details

.jsii_propertiesObject



18947
18948
18949
18950
18951
# File 'quick_sight/cfn_analysis.rb', line 18947

def self.jsii_properties
  {
    :treatment_option => "treatmentOption",
  }
end

Instance Method Details

#to_jsiiObject



18953
18954
18955
18956
18957
18958
18959
# File 'quick_sight/cfn_analysis.rb', line 18953

def to_jsii
  result = {}
  result.merge!({
    "treatmentOption" => @treatment_option,
  })
  result.compact
end