public UpdateGlobalTableRequest withReplicaUpdates(ReplicaUpdate... replicaUpdates) {
        if (this.replicaUpdates == null) {
            setReplicaUpdates(new java.util.ArrayList<ReplicaUpdate>(replicaUpdates.length));
        }
        for (ReplicaUpdate ele : replicaUpdates) {
            this.replicaUpdates.add(ele);
        }
        return this;
    }
<p>
A list of Regions that should be added or removed from the global table.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicaUpdates(java.util.Collection)} or {@link #withReplicaUpdates(java.util.Collection)} if you want
to override the existing values.
</p>

@param replicaUpdates
       A list of Regions that should be added or removed from the global table.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/UpdateGlobalTableRequest.java