Class: AWSCDK::QuickSight::CfnTopic::TopicDateRangeFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTopic::TopicDateRangeFilterProperty
- Defined in:
- quick_sight/cfn_topic.rb
Overview
A filter used to restrict data based on a range of dates or times.
Instance Attribute Summary collapse
-
#constant ⇒ AWSCDK::IResolvable, ...
readonly
The constant used in a date range filter.
-
#inclusive ⇒ Boolean, ...
readonly
A Boolean value that indicates whether the date range filter should include the boundary values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(constant: nil, inclusive: nil) ⇒ TopicDateRangeFilterProperty
constructor
A new instance of TopicDateRangeFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(constant: nil, inclusive: nil) ⇒ TopicDateRangeFilterProperty
Returns a new instance of TopicDateRangeFilterProperty.
2052 2053 2054 2055 2056 2057 |
# File 'quick_sight/cfn_topic.rb', line 2052 def initialize(constant: nil, inclusive: nil) @constant = constant.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTopic::TopicRangeFilterConstantProperty.new(**constant.transform_keys(&:to_sym)) : constant Jsii::Type.check_type(@constant, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRvcGljLlRvcGljUmFuZ2VGaWx0ZXJDb25zdGFudFByb3BlcnR5In1dfX0=")), "constant") unless @constant.nil? @inclusive = inclusive Jsii::Type.check_type(@inclusive, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "inclusive") unless @inclusive.nil? end |
Instance Attribute Details
#constant ⇒ AWSCDK::IResolvable, ... (readonly)
The constant used in a date range filter.
2063 2064 2065 |
# File 'quick_sight/cfn_topic.rb', line 2063 def constant @constant end |
#inclusive ⇒ Boolean, ... (readonly)
Note:
Default: - false
A Boolean value that indicates whether the date range filter should include the boundary values.
If set to true, the filter includes the start and end dates. If set to false, the filter excludes them.
2071 2072 2073 |
# File 'quick_sight/cfn_topic.rb', line 2071 def inclusive @inclusive end |
Class Method Details
.jsii_properties ⇒ Object
2073 2074 2075 2076 2077 2078 |
# File 'quick_sight/cfn_topic.rb', line 2073 def self.jsii_properties { :constant => "constant", :inclusive => "inclusive", } end |
Instance Method Details
#to_jsii ⇒ Object
2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'quick_sight/cfn_topic.rb', line 2080 def to_jsii result = {} result.merge!({ "constant" => @constant, "inclusive" => @inclusive, }) result.compact end |