public java.util.List<Tag> getTags() {
        return tags;
    }
<p>
The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and
an optional value, both of which you define. To learn more, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags"
>RunTask</a> in the Amazon ECS API Reference.
</p>

@return The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a
        key and an optional value, both of which you define. To learn more, see <a href=
        "https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags"
        >RunTask</a> in the Amazon ECS API Reference.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java