public void setTags(java.util.Collection<TagListEntry> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<TagListEntry>(tags);
    }
<p>
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least one tag for your agent.
</p>

@param tags
       Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
       recommend creating at least one tag for your agent.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateAgentRequest.java