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