public CreatePromptRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
Any tags that you want to attach to the prompt. For more information, see <a
href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources in Amazon Bedrock</a>.
</p>

@param tags
       Any tags that you want to attach to the prompt. For more information, see <a
       href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources in Amazon
       Bedrock</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/CreatePromptRequest.java