Class: AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::ThresholdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::ThresholdProperty
- Defined in:
- customer_profiles/cfn_calculated_attribute_definition.rb
Overview
The threshold for the calculated attribute.
Instance Attribute Summary collapse
-
#operator ⇒ String
readonly
The operator of the threshold.
-
#value ⇒ String
readonly
The value of the threshold.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(operator:, value:) ⇒ ThresholdProperty
constructor
A new instance of ThresholdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(operator:, value:) ⇒ ThresholdProperty
Returns a new instance of ThresholdProperty.
894 895 896 897 898 899 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 894 def initialize(operator:, value:) @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#operator ⇒ String (readonly)
The operator of the threshold.
905 906 907 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 905 def operator @operator end |
#value ⇒ String (readonly)
The value of the threshold.
910 911 912 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 910 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
912 913 914 915 916 917 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 912 def self.jsii_properties { :operator => "operator", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
919 920 921 922 923 924 925 926 |
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 919 def to_jsii result = {} result.merge!({ "operator" => @operator, "value" => @value, }) result.compact end |