Class: Aws::QBusiness::Types::RuleConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::RuleConfiguration
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-qbusiness/types.rb
Overview
RuleConfiguration is a union - when making an API calls you must set exactly one of the members.
RuleConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleConfiguration corresponding to the set member.
Provides configuration information about a rule.
Direct Known Subclasses
Defined Under Namespace
Classes: ContentBlockerRule, ContentRetrievalRule, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content_blocker_rule ⇒ Types::ContentBlockerRule
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
-
#content_retrieval_rule ⇒ Types::ContentRetrievalRule
Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#content_blocker_rule ⇒ Types::ContentBlockerRule
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555 class RuleConfiguration < Struct.new( :content_blocker_rule, :content_retrieval_rule, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ContentBlockerRule < RuleConfiguration; end class ContentRetrievalRule < RuleConfiguration; end class Unknown < RuleConfiguration; end end |
#content_retrieval_rule ⇒ Types::ContentRetrievalRule
Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.
6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555 class RuleConfiguration < Struct.new( :content_blocker_rule, :content_retrieval_rule, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ContentBlockerRule < RuleConfiguration; end class ContentRetrievalRule < RuleConfiguration; end class Unknown < RuleConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6555 6556 6557 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 6555 def unknown @unknown end |