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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGuardrailUsage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GuardrailUsage.Builderbuilder()IntegercontentPolicyImageUnits()The content policy image units processed by the guardrail.IntegercontentPolicyUnits()The content policy units processed by the guardrail.IntegercontextualGroundingPolicyUnits()The contextual grounding policy units processed by the guardrail.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()IntegersensitiveInformationPolicyFreeUnits()The sensitive information policy free units processed by the guardrail.IntegersensitiveInformationPolicyUnits()The sensitive information policy units processed by the guardrail.static Class<? extends GuardrailUsage.Builder>serializableBuilderClass()GuardrailUsage.BuildertoBuilder()IntegertopicPolicyUnits()The topic policy units processed by the guardrail.StringtoString()Returns a string representation of this object.IntegerwordPolicyUnits()The word policy units processed by the guardrail.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
topicPolicyUnits
public final Integer topicPolicyUnits()
The topic policy units processed by the guardrail.
- Returns:
- The topic policy units processed by the guardrail.
-
contentPolicyUnits
public final Integer contentPolicyUnits()
The content policy units processed by the guardrail.
- Returns:
- The content policy units processed by the guardrail.
-
wordPolicyUnits
public final Integer wordPolicyUnits()
The word policy units processed by the guardrail.
- Returns:
- The word policy units processed by the guardrail.
-
sensitiveInformationPolicyUnits
public final Integer sensitiveInformationPolicyUnits()
The sensitive information policy units processed by the guardrail.
- Returns:
- The sensitive information policy units processed by the guardrail.
-
sensitiveInformationPolicyFreeUnits
public final Integer sensitiveInformationPolicyFreeUnits()
The sensitive information policy free units processed by the guardrail.
- Returns:
- The sensitive information policy free units processed by the guardrail.
-
contextualGroundingPolicyUnits
public final Integer contextualGroundingPolicyUnits()
The contextual grounding policy units processed by the guardrail.
- Returns:
- The contextual grounding policy units processed by the guardrail.
-
contentPolicyImageUnits
public final Integer contentPolicyImageUnits()
The content policy image units processed by the guardrail.
- Returns:
- The content policy image units processed by the guardrail.
-
toBuilder
public GuardrailUsage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>
-
builder
public static GuardrailUsage.Builder builder()
-
serializableBuilderClass
public static Class<? extends GuardrailUsage.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-