Class CfnGuardrail.TopicsTierConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicsTierConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardrail.TopicsTierConfigProperty>
- Enclosing interface:
CfnGuardrail.TopicsTierConfigProperty
@Stability(Stable)
public static final class CfnGuardrail.TopicsTierConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardrail.TopicsTierConfigProperty>
A builder for
CfnGuardrail.TopicsTierConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGuardrail.TopicsTierConfigProperty.getTierName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tierName
Sets the value ofCfnGuardrail.TopicsTierConfigProperty.getTierName()- Parameters:
tierName- The tier that your guardrail uses for denied topic filters. Valid values include:. This parameter is required.CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages.STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardrail.TopicsTierConfigProperty>- Returns:
- a new instance of
CfnGuardrail.TopicsTierConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-