Class GuardrailTopicsTierConfig
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.GuardrailTopicsTierConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailTopicsTierConfig.Builder,GuardrailTopicsTierConfig>
@Generated("software.amazon.awssdk:codegen") public final class GuardrailTopicsTierConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailTopicsTierConfig.Builder,GuardrailTopicsTierConfig>
The tier that your guardrail uses for denied topic filters. Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuardrailTopicsTierConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GuardrailTopicsTierConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GuardrailTopicsTierConfig.Builder>serializableBuilderClass()GuardrailTopicsTierNametierName()The tier that your guardrail uses for denied topic filters.StringtierNameAsString()The tier that your guardrail uses for denied topic filters.GuardrailTopicsTierConfig.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
-
tierName
public final GuardrailTopicsTierName tierName()
The tier that your guardrail uses for denied topic filters. Valid values include:
-
CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages. -
STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.
If the service returns an enum value that is not available in the current SDK version,
tierNamewill returnGuardrailTopicsTierName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierNameAsString().- Returns:
- The tier that your guardrail uses for denied topic filters. Valid values include:
-
CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages. -
STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.
-
- See Also:
GuardrailTopicsTierName
-
-
tierNameAsString
public final String tierNameAsString()
The tier that your guardrail uses for denied topic filters. Valid values include:
-
CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages. -
STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.
If the service returns an enum value that is not available in the current SDK version,
tierNamewill returnGuardrailTopicsTierName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierNameAsString().- Returns:
- The tier that your guardrail uses for denied topic filters. Valid values include:
-
CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages. -
STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.
-
- See Also:
GuardrailTopicsTierName
-
-
toBuilder
public GuardrailTopicsTierConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailTopicsTierConfig.Builder,GuardrailTopicsTierConfig>
-
builder
public static GuardrailTopicsTierConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailTopicsTierConfig.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-