public CreateDiskResult withOperations(Operation... operations) {
        if (this.operations == null) {
            setOperations(new java.util.ArrayList<Operation>(operations.length));
        }
        for (Operation ele : operations) {
            this.operations.add(ele);
        }
        return this;
    }
public CreateDiskResult withOperations ( Operation ... operations ) { if ( this . operations == null ) { setOperations ( new java . util . ArrayList < Operation > ( operations . length ) ) ; } for ( Operation ele : operations ) { this . operations . add ( ele ) ; } return this ; }
<p>
An object describing the API operations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOperations(java.util.Collection)} or {@link #withOperations(java.util.Collection)} if you want to
override the existing values.
</p>

@param operations
An object describing the API operations.
@return Returns a reference to this object so that method calls can be chained together.