public DeleteProjectResult withDeletedResources(Resource... deletedResources) {
        if (this.deletedResources == null) {
            setDeletedResources(new java.util.ArrayList<Resource>(deletedResources.length));
        }
        for (Resource ele : deletedResources) {
            this.deletedResources.add(ele);
        }
        return this;
    }
public DeleteProjectResult withDeletedResources ( Resource ... deletedResources ) { if ( this . deletedResources == null ) { setDeletedResources ( new java . util . ArrayList < Resource > ( deletedResources . length ) ) ; } for ( Resource ele : deletedResources ) { this . deletedResources . add ( ele ) ; } return this ; }
<p>
Resources which were deleted.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDeletedResources(java.util.Collection)} or {@link #withDeletedResources(java.util.Collection)} if you
want to override the existing values.
</p>

@param deletedResources
Resources which were deleted.
@return Returns a reference to this object so that method calls can be chained together.