Class CfnGuardrail.ManagedWordsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardrail.ManagedWordsConfigProperty>
- Enclosing interface:
CfnGuardrail.ManagedWordsConfigProperty
@Stability(Stable)
public static final class CfnGuardrail.ManagedWordsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardrail.ManagedWordsConfigProperty>
A builder for
CfnGuardrail.ManagedWordsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGuardrail.ManagedWordsConfigProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnGuardrail.ManagedWordsConfigProperty.getType()- Parameters:
type- The managed word type to configure for the guardrail. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardrail.ManagedWordsConfigProperty>- Returns:
- a new instance of
CfnGuardrail.ManagedWordsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-