Class GuardrailChecksUsageResults
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.GuardrailChecksUsageResults
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailChecksUsageResults.Builder,GuardrailChecksUsageResults>
@Generated("software.amazon.awssdk:codegen")
public final class GuardrailChecksUsageResults
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailChecksUsageResults.Builder,GuardrailChecksUsageResults>
The text unit usage for the guardrail checks evaluation, organized by check type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The text unit usage for the content filter check.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The text unit usage for the prompt attack check.The text unit usage for the sensitive information check.static Class<? extends GuardrailChecksUsageResults.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
contentFilter
The text unit usage for the content filter check.
- Returns:
- The text unit usage for the content filter check.
-
promptAttack
The text unit usage for the prompt attack check.
- Returns:
- The text unit usage for the prompt attack check.
-
sensitiveInformation
The text unit usage for the sensitive information check.
- Returns:
- The text unit usage for the sensitive information check.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailChecksUsageResults.Builder,GuardrailChecksUsageResults>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-