Class GuardrailConfiguration
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.GuardrailConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailConfiguration.Builder,GuardrailConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class GuardrailConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailConfiguration.Builder,GuardrailConfiguration>
Configuration information for a guardrail that you use with the Converse operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final StringThe identifier for the guardrail.final StringThe version of the guardrail.final inthashCode()static Class<? extends GuardrailConfiguration.Builder>final StringtoString()Returns a string representation of this object.final GuardrailTracetrace()The trace behavior for the guardrail.final StringThe trace behavior for 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
-
guardrailIdentifier
The identifier for the guardrail.
- Returns:
- The identifier for the guardrail.
-
guardrailVersion
The version of the guardrail.
- Returns:
- The version of the guardrail.
-
trace
The trace behavior for the guardrail.
If the service returns an enum value that is not available in the current SDK version,
tracewill returnGuardrailTrace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtraceAsString().- Returns:
- The trace behavior for the guardrail.
- See Also:
-
traceAsString
The trace behavior for the guardrail.
If the service returns an enum value that is not available in the current SDK version,
tracewill returnGuardrailTrace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtraceAsString().- Returns:
- The trace behavior for the guardrail.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailConfiguration.Builder,GuardrailConfiguration>
-
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
-