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

        this.tags = new com.amazonaws.internal.SdkInternalList<Tag>(tags);
    }
<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.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TagResourceRequest.java