public GuardrailConverseTextBlock withText(String text) {
        setText(text);
        return this;
    }
<p>
The text that you want to guard.
</p>

@param text
       The text that you want to guard.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailConverseTextBlock.java