@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information about a rule.
| Constructor and Description |
|---|
RuleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RuleConfiguration |
clone() |
boolean |
equals(Object obj) |
ContentBlockerRule |
getContentBlockerRule()
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
|
ContentRetrievalRule |
getContentRetrievalRule() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContentBlockerRule(ContentBlockerRule contentBlockerRule)
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
|
void |
setContentRetrievalRule(ContentRetrievalRule contentRetrievalRule) |
String |
toString()
Returns a string representation of this object.
|
RuleConfiguration |
withContentBlockerRule(ContentBlockerRule contentBlockerRule)
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
|
RuleConfiguration |
withContentRetrievalRule(ContentRetrievalRule contentRetrievalRule) |
public void setContentBlockerRule(ContentBlockerRule contentBlockerRule)
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
contentBlockerRule - A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.public ContentBlockerRule getContentBlockerRule()
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
public RuleConfiguration withContentBlockerRule(ContentBlockerRule contentBlockerRule)
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
contentBlockerRule - A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.public void setContentRetrievalRule(ContentRetrievalRule contentRetrievalRule)
contentRetrievalRule - public ContentRetrievalRule getContentRetrievalRule()
public RuleConfiguration withContentRetrievalRule(ContentRetrievalRule contentRetrievalRule)
contentRetrievalRule - public String toString()
toString in class ObjectObject.toString()public RuleConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.