src/main/java/org/intellimate/izou/sdk/resource/Resource.java
public Resource<T> setResource(T resource) {
        return new Resource<>(resourceID, provider, resource, consumer);
    }
public Resource<T> setResource(T resource) {
        return new Resource<>(resourceID, provider, resource, consumer);
    }
public Resource < T > setResource ( T resource ) { return new Resource <> ( resourceID , provider , resource , consumer ) ; }
sets the Resource data.
<p>
Note! this Object is immutable!
</p>
@param resource the data to set
@return the Resource
sets the Resource data . <p > Note! this Object is immutable! < / p >