Class GuardrailAssessment
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.GuardrailAssessment
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailAssessment.Builder,GuardrailAssessment>
@Generated("software.amazon.awssdk:codegen")
public final class GuardrailAssessment
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailAssessment.Builder,GuardrailAssessment>
A behavior assessment of the guardrail policies used in a call to the Converse API.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AppliedGuardrailDetailsReturns the value of the AppliedGuardrailDetails property for this object.The automated reasoning policy assessment results, including logical validation findings for the input content.static GuardrailAssessment.Builderbuilder()The content policy.The contextual grounding policy used for the guardrail assessment.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The invocation metrics for the guardrail assessment.The sensitive information policy.static Class<? extends GuardrailAssessment.Builder>The topic policy.final StringtoString()Returns a string representation of this object.The word policy.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
-
topicPolicy
The topic policy.
- Returns:
- The topic policy.
-
contentPolicy
The content policy.
- Returns:
- The content policy.
-
wordPolicy
The word policy.
- Returns:
- The word policy.
-
sensitiveInformationPolicy
The sensitive information policy.
- Returns:
- The sensitive information policy.
-
contextualGroundingPolicy
The contextual grounding policy used for the guardrail assessment.
- Returns:
- The contextual grounding policy used for the guardrail assessment.
-
automatedReasoningPolicy
The automated reasoning policy assessment results, including logical validation findings for the input content.
- Returns:
- The automated reasoning policy assessment results, including logical validation findings for the input content.
-
invocationMetrics
The invocation metrics for the guardrail assessment.
- Returns:
- The invocation metrics for the guardrail assessment.
-
appliedGuardrailDetails
Returns the value of the AppliedGuardrailDetails property for this object.- Returns:
- The value of the AppliedGuardrailDetails property for this object.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailAssessment.Builder,GuardrailAssessment>
-
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
-