Interface GuardrailContentFiltersTier.Builder

    • Method Detail

      • tierName

        GuardrailContentFiltersTier.Builder tierName​(String tierName)

        The tier that your guardrail uses for content filters. Valid values include:

        • CLASSIC tier – Provides established guardrails functionality supporting English, French, and Spanish languages.

        • STANDARD tier – Provides a more robust solution than the CLASSIC tier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.

        Parameters:
        tierName - The tier that your guardrail uses for content filters. Valid values include:

        • CLASSIC tier – Provides established guardrails functionality supporting English, French, and Spanish languages.

        • STANDARD tier – Provides a more robust solution than the CLASSIC tier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GuardrailContentFiltersTierName, GuardrailContentFiltersTierName
      • tierName

        GuardrailContentFiltersTier.Builder tierName​(GuardrailContentFiltersTierName tierName)

        The tier that your guardrail uses for content filters. Valid values include:

        • CLASSIC tier – Provides established guardrails functionality supporting English, French, and Spanish languages.

        • STANDARD tier – Provides a more robust solution than the CLASSIC tier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.

        Parameters:
        tierName - The tier that your guardrail uses for content filters. Valid values include:

        • CLASSIC tier – Provides established guardrails functionality supporting English, French, and Spanish languages.

        • STANDARD tier – Provides a more robust solution than the CLASSIC tier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GuardrailContentFiltersTierName, GuardrailContentFiltersTierName