public TagResourceRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
A list of tags that <code>TagResource</code> associates with a resource. The resource is identified by the
<code>ResourceArn</code> input parameter.
</p>

@param tags
       A list of tags that <code>TagResource</code> associates with a resource. The resource is identified by the
       <code>ResourceArn</code> input parameter.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TagResourceRequest.java