public void setText(String text) {
        this.text = text;
    }
<p>
The specific text for the output content produced by the guardrail.
</p>

@param text
       The specific text for the output content produced by the guardrail.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailOutputContent.java