public GuardrailContentFilterConfig withType(GuardrailContentFilterType type) {
        this.type = type.toString();
        return this;
    }
<p>
The harmful category that the content filter is applied to.
</p>

@param type
       The harmful category that the content filter is applied to.
@return Returns a reference to this object so that method calls can be chained together.
@see GuardrailContentFilterType
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GuardrailContentFilterConfig.java