public GuardrailManagedWordsConfig withType(GuardrailManagedWordsType type) {
        this.type = type.toString();
        return this;
    }
<p>
The managed word type to configure for the guardrail.
</p>

@param type
       The managed word type to configure for the guardrail.
@return Returns a reference to this object so that method calls can be chained together.
@see GuardrailManagedWordsType
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GuardrailManagedWordsConfig.java