Class GuardrailCoverage
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.GuardrailCoverage
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GuardrailCoverage.Builder,GuardrailCoverage>
@Generated("software.amazon.awssdk:codegen")
public final class GuardrailCoverage
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<GuardrailCoverage.Builder,GuardrailCoverage>
The action of the guardrail coverage details.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GuardrailCoverage.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final GuardrailImageCoverageimages()The guardrail coverage for images (the number of images that guardrails guarded).static Class<? extends GuardrailCoverage.Builder>The text characters of the guardrail coverage details.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
-
textCharacters
The text characters of the guardrail coverage details.
- Returns:
- The text characters of the guardrail coverage details.
-
images
The guardrail coverage for images (the number of images that guardrails guarded).
- Returns:
- The guardrail coverage for images (the number of images that guardrails guarded).
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailCoverage.Builder,GuardrailCoverage>
-
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
-