Class GuardrailUsage
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.GuardrailUsage
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>
@Generated("software.amazon.awssdk:codegen")
public final class GuardrailUsage
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>
The details on the use of the guardrail.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe number of automated reasoning policies that were processed during the guardrail evaluation.final IntegerThe number of text units processed by the automated reasoning policy.static GuardrailUsage.Builderbuilder()final IntegerThe content policy image units processed by the guardrail.final IntegerThe content policy units processed by the guardrail.final IntegerThe contextual grounding policy units processed by the guardrail.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe sensitive information policy free units processed by the guardrail.final IntegerThe sensitive information policy units processed by the guardrail.static Class<? extends GuardrailUsage.Builder>final IntegerThe topic policy units processed by the guardrail.final StringtoString()Returns a string representation of this object.final IntegerThe word policy units processed by the guardrail.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
-
topicPolicyUnits
The topic policy units processed by the guardrail.
- Returns:
- The topic policy units processed by the guardrail.
-
contentPolicyUnits
The content policy units processed by the guardrail.
- Returns:
- The content policy units processed by the guardrail.
-
wordPolicyUnits
The word policy units processed by the guardrail.
- Returns:
- The word policy units processed by the guardrail.
-
sensitiveInformationPolicyUnits
The sensitive information policy units processed by the guardrail.
- Returns:
- The sensitive information policy units processed by the guardrail.
-
sensitiveInformationPolicyFreeUnits
The sensitive information policy free units processed by the guardrail.
- Returns:
- The sensitive information policy free units processed by the guardrail.
-
contextualGroundingPolicyUnits
The contextual grounding policy units processed by the guardrail.
- Returns:
- The contextual grounding policy units processed by the guardrail.
-
contentPolicyImageUnits
The content policy image units processed by the guardrail.
- Returns:
- The content policy image units processed by the guardrail.
-
automatedReasoningPolicyUnits
The number of text units processed by the automated reasoning policy.
- Returns:
- The number of text units processed by the automated reasoning policy.
-
automatedReasoningPolicies
The number of automated reasoning policies that were processed during the guardrail evaluation.
- Returns:
- The number of automated reasoning policies that were processed during the guardrail evaluation.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>
-
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
-