Class: AWSCDK::QuickSight::CfnAnalysis::CustomFilterListConfigurationProperty

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

Overview

A list of custom filter values.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(match_operator:, null_option:, category_values: nil, select_all_options: nil) ⇒ CustomFilterListConfigurationProperty

Returns a new instance of CustomFilterListConfigurationProperty.

Parameters:

  • match_operator (String)

    The match operator that is used to determine if a filter should be applied.

  • null_option (String)

    This option determines how null values should be treated when filtering data.

  • category_values (Array<String>, nil) (defaults to: nil)

    The list of category values for the filter.

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

    Select all of the values. Null is not the assigned value of select all.



5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
# File 'quick_sight/cfn_analysis.rb', line 5974

def initialize(match_operator:, null_option:, category_values: nil, select_all_options: nil)
  @match_operator = match_operator
  Jsii::Type.check_type(@match_operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchOperator")
  @null_option = null_option
  Jsii::Type.check_type(@null_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nullOption")
  @category_values = category_values
  Jsii::Type.check_type(@category_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "categoryValues") unless @category_values.nil?
  @select_all_options = select_all_options
  Jsii::Type.check_type(@select_all_options, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "selectAllOptions") unless @select_all_options.nil?
end

Instance Attribute Details

#category_valuesArray<String>? (readonly)

The list of category values for the filter.



6003
6004
6005
# File 'quick_sight/cfn_analysis.rb', line 6003

def category_values
  @category_values
end

#match_operatorString (readonly)

The match operator that is used to determine if a filter should be applied.



5989
5990
5991
# File 'quick_sight/cfn_analysis.rb', line 5989

def match_operator
  @match_operator
end

#null_optionString (readonly)

This option determines how null values should be treated when filtering data.

  • ALL_VALUES : Include null values in filtered results.
  • NULLS_ONLY : Only include null values in filtered results.
  • NON_NULLS_ONLY : Exclude null values from filtered results.


5998
5999
6000
# File 'quick_sight/cfn_analysis.rb', line 5998

def null_option
  @null_option
end

#select_all_optionsString? (readonly)

Select all of the values. Null is not the assigned value of select all.

  • FILTER_ALL_VALUES


6010
6011
6012
# File 'quick_sight/cfn_analysis.rb', line 6010

def select_all_options
  @select_all_options
end

Class Method Details

.jsii_propertiesObject



6012
6013
6014
6015
6016
6017
6018
6019
# File 'quick_sight/cfn_analysis.rb', line 6012

def self.jsii_properties
  {
    :match_operator => "matchOperator",
    :null_option => "nullOption",
    :category_values => "categoryValues",
    :select_all_options => "selectAllOptions",
  }
end

Instance Method Details

#to_jsiiObject



6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
# File 'quick_sight/cfn_analysis.rb', line 6021

def to_jsii
  result = {}
  result.merge!({
    "matchOperator" => @match_operator,
    "nullOption" => @null_option,
    "categoryValues" => @category_values,
    "selectAllOptions" => @select_all_options,
  })
  result.compact
end