What's the role of "resourceName" in DeploymentBuilder.addInputStream?

I know this is an old post, but I did not see any response. Yet, I found the answer from another post: