public java.util.List<Tag> getTags() {
        return tags;
    }
<p>
A list of tags to associate with the component. You can use <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html">Search</a> API to search on the
tags.
</p>

@return A list of tags to associate with the component. You can use <a
        href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html">Search</a> API to search
        on the tags.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateTrialComponentRequest.java