public ProjectDetails withResources(Resource... resources) {
        if (this.resources == null) {
            setResources(new java.util.ArrayList<Resource>(resources.length));
        }
        for (Resource ele : resources) {
            this.resources.add(ele);
        }
        return this;
    }
public ProjectDetails withResources ( Resource ... resources ) { if ( this . resources == null ) { setResources ( new java . util . ArrayList < Resource > ( resources . length ) ) ; } for ( Resource ele : resources ) { this . resources . add ( ele ) ; } return this ; }
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResources(java.util.Collection)} or {@link #withResources(java.util.Collection)} if you want to
override the existing values.
</p>

@param resources
@return Returns a reference to this object so that method calls can be chained together.