Class GuardrailContentFiltersTier
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.GuardrailContentFiltersTier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailContentFiltersTier.Builder,GuardrailContentFiltersTier>
@Generated("software.amazon.awssdk:codegen") public final class GuardrailContentFiltersTier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailContentFiltersTier.Builder,GuardrailContentFiltersTier>
The tier that your guardrail uses for content filters.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuardrailContentFiltersTier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GuardrailContentFiltersTier.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 GuardrailContentFiltersTier.Builder>serializableBuilderClass()GuardrailContentFiltersTierNametierName()The tier that your guardrail uses for content filters.StringtierNameAsString()The tier that your guardrail uses for content filters.GuardrailContentFiltersTier.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 GuardrailContentFiltersTierName tierName()
The tier that your guardrail uses for content 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 returnGuardrailContentFiltersTierName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierNameAsString().- Returns:
- The tier that your guardrail uses for content 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:
GuardrailContentFiltersTierName
-
-
tierNameAsString
public final String tierNameAsString()
The tier that your guardrail uses for content 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 returnGuardrailContentFiltersTierName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierNameAsString().- Returns:
- The tier that your guardrail uses for content 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:
GuardrailContentFiltersTierName
-
-
toBuilder
public GuardrailContentFiltersTier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailContentFiltersTier.Builder,GuardrailContentFiltersTier>
-
builder
public static GuardrailContentFiltersTier.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailContentFiltersTier.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
-
-