public UpdateUserRequest withOperations(AttributeOperation... operations) {
        if (this.operations == null) {
            setOperations(new java.util.ArrayList<AttributeOperation>(operations.length));
        }
        for (AttributeOperation ele : operations) {
            this.operations.add(ele);
        }
        return this;
    }
<p>
A list of <code>AttributeOperation</code> objects to apply to the requested user. These operations might add,
replace, or remove an attribute.
</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
       A list of <code>AttributeOperation</code> objects to apply to the requested user. These operations might
       add, replace, or remove an attribute.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/UpdateUserRequest.java