public void setText(String text) {
        this.text = text;
    }
<p>
The input text details to be evaluated by the guardrail.
</p>

@param text
       The input text details to be evaluated by the guardrail.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailTextBlock.java