public TagInfoForResource withTagList(java.util.Collection<Tag> tagList) {
        setTagList(tagList);
        return this;
    }
<p>
The array of <a>Tag</a> objects defined for the resource.
</p>

@param tagList
       The array of <a>Tag</a> objects defined for the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/TagInfoForResource.java