public void setText(TextPromptTemplateConfiguration text) {
        this.text = text;
    }
<p>
Contains configurations for the text in a message for a prompt.
</p>

@param text
       Contains configurations for the text in a message for a prompt.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/PromptTemplateConfiguration.java