Interface GuardrailUsage.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>, SdkBuilder<GuardrailUsage.Builder,GuardrailUsage>, SdkPojo
Enclosing class:
GuardrailUsage

public static interface GuardrailUsage.Builder extends SdkPojo, CopyableBuilder<GuardrailUsage.Builder,GuardrailUsage>
  • Method Details

    • topicPolicyUnits

      GuardrailUsage.Builder topicPolicyUnits(Integer topicPolicyUnits)

      The topic policy units processed by the guardrail.

      Parameters:
      topicPolicyUnits - The topic policy units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentPolicyUnits

      GuardrailUsage.Builder contentPolicyUnits(Integer contentPolicyUnits)

      The content policy units processed by the guardrail.

      Parameters:
      contentPolicyUnits - The content policy units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • wordPolicyUnits

      GuardrailUsage.Builder wordPolicyUnits(Integer wordPolicyUnits)

      The word policy units processed by the guardrail.

      Parameters:
      wordPolicyUnits - The word policy units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sensitiveInformationPolicyUnits

      GuardrailUsage.Builder sensitiveInformationPolicyUnits(Integer sensitiveInformationPolicyUnits)

      The sensitive information policy units processed by the guardrail.

      Parameters:
      sensitiveInformationPolicyUnits - The sensitive information policy units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sensitiveInformationPolicyFreeUnits

      GuardrailUsage.Builder sensitiveInformationPolicyFreeUnits(Integer sensitiveInformationPolicyFreeUnits)

      The sensitive information policy free units processed by the guardrail.

      Parameters:
      sensitiveInformationPolicyFreeUnits - The sensitive information policy free units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextualGroundingPolicyUnits

      GuardrailUsage.Builder contextualGroundingPolicyUnits(Integer contextualGroundingPolicyUnits)

      The contextual grounding policy units processed by the guardrail.

      Parameters:
      contextualGroundingPolicyUnits - The contextual grounding policy units processed by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.