Class: AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::FilterValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::FilterValueProperty
- Defined in:
- bedrock_agent_core/cfn_online_evaluation_config.rb
Overview
The value used in filter comparisons.
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean, ...
readonly
The boolean value for true/false filtering conditions.
-
#double_value ⇒ Numeric?
readonly
The numeric value for numerical filtering.
-
#string_value ⇒ String?
readonly
The string value for text-based filtering.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(boolean_value: nil, double_value: nil, string_value: nil) ⇒ FilterValueProperty
constructor
A new instance of FilterValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(boolean_value: nil, double_value: nil, string_value: nil) ⇒ FilterValueProperty
Returns a new instance of FilterValueProperty.
903 904 905 906 907 908 909 910 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 903 def initialize(boolean_value: nil, double_value: nil, string_value: nil) @boolean_value = boolean_value Jsii::Type.check_type(@boolean_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "booleanValue") unless @boolean_value.nil? @double_value = double_value Jsii::Type.check_type(@double_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "doubleValue") unless @double_value.nil? @string_value = string_value Jsii::Type.check_type(@string_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stringValue") unless @string_value.nil? end |
Instance Attribute Details
#boolean_value ⇒ Boolean, ... (readonly)
The boolean value for true/false filtering conditions.
916 917 918 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 916 def boolean_value @boolean_value end |
#double_value ⇒ Numeric? (readonly)
The numeric value for numerical filtering.
921 922 923 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 921 def double_value @double_value end |
#string_value ⇒ String? (readonly)
The string value for text-based filtering.
926 927 928 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 926 def string_value @string_value end |
Class Method Details
.jsii_properties ⇒ Object
928 929 930 931 932 933 934 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 928 def self.jsii_properties { :boolean_value => "booleanValue", :double_value => "doubleValue", :string_value => "stringValue", } end |
Instance Method Details
#to_jsii ⇒ Object
936 937 938 939 940 941 942 943 944 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 936 def to_jsii result = {} result.merge!({ "booleanValue" => @boolean_value, "doubleValue" => @double_value, "stringValue" => @string_value, }) result.compact end |