public ClusterPendingUpdates withServiceUpdates(PendingModifiedServiceUpdate... serviceUpdates) {
        if (this.serviceUpdates == null) {
            setServiceUpdates(new java.util.ArrayList<PendingModifiedServiceUpdate>(serviceUpdates.length));
        }
        for (PendingModifiedServiceUpdate ele : serviceUpdates) {
            this.serviceUpdates.add(ele);
        }
        return this;
    }
<p>
A list of service updates being applied to the cluster
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceUpdates(java.util.Collection)} or {@link #withServiceUpdates(java.util.Collection)} if you want
to override the existing values.
</p>

@param serviceUpdates
       A list of service updates being applied to the cluster
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/ClusterPendingUpdates.java