public GetDeploymentsResult withItems(Deployment... items) {
        if (this.items == null) {
            setItems(new java.util.ArrayList<Deployment>(items.length));
        }
        for (Deployment ele : items) {
            this.items.add(ele);
        }
        return this;
    }
public GetDeploymentsResult withItems ( Deployment ... items ) { if ( this . items == null ) { setItems ( new java . util . ArrayList < Deployment > ( items . length ) ) ; } for ( Deployment ele : items ) { this . items . add ( ele ) ; } return this ; }
<p>
The current page of elements from this collection.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setItems(java.util.Collection)} or {@link #withItems(java.util.Collection)} if you want to override the
existing values.
</p>

@param items
The current page of elements from this collection.
@return Returns a reference to this object so that method calls can be chained together.