@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentBlockerRule extends Object implements Serializable, Cloneable, StructuredPojo
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic. You can configure a custom message to inform your end users that they have asked about a restricted topic and suggest any next steps they should take.
| Constructor and Description |
|---|
ContentBlockerRule() |
| Modifier and Type | Method and Description |
|---|---|
ContentBlockerRule |
clone() |
boolean |
equals(Object obj) |
String |
getSystemMessageOverride()
The configured custom message displayed to an end user informing them that they've used a blocked phrase during
chat.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSystemMessageOverride(String systemMessageOverride)
The configured custom message displayed to an end user informing them that they've used a blocked phrase during
chat.
|
String |
toString()
Returns a string representation of this object.
|
ContentBlockerRule |
withSystemMessageOverride(String systemMessageOverride)
The configured custom message displayed to an end user informing them that they've used a blocked phrase during
chat.
|
public void setSystemMessageOverride(String systemMessageOverride)
The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
systemMessageOverride - The configured custom message displayed to an end user informing them that they've used a blocked phrase
during chat.public String getSystemMessageOverride()
The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
public ContentBlockerRule withSystemMessageOverride(String systemMessageOverride)
The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
systemMessageOverride - The configured custom message displayed to an end user informing them that they've used a blocked phrase
during chat.public String toString()
toString in class ObjectObject.toString()public ContentBlockerRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.