Class ContentBlockerRule
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.ContentBlockerRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContentBlockerRule.Builder,ContentBlockerRule>
@Generated("software.amazon.awssdk:codegen") public final class ContentBlockerRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentBlockerRule.Builder,ContentBlockerRule>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentBlockerRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentBlockerRule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ContentBlockerRule.Builder>serializableBuilderClass()StringsystemMessageOverride()The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.ContentBlockerRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
systemMessageOverride
public final String systemMessageOverride()
The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
- Returns:
- The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
-
toBuilder
public ContentBlockerRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContentBlockerRule.Builder,ContentBlockerRule>
-
builder
public static ContentBlockerRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContentBlockerRule.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-