public GlobalTable withReplicationGroup(Replica... replicationGroup) {
        if (this.replicationGroup == null) {
            setReplicationGroup(new java.util.ArrayList<Replica>(replicationGroup.length));
        }
        for (Replica ele : replicationGroup) {
            this.replicationGroup.add(ele);
        }
        return this;
    }
<p>
The Regions where the global table has replicas.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicationGroup(java.util.Collection)} or {@link #withReplicationGroup(java.util.Collection)} if you
want to override the existing values.
</p>

@param replicationGroup
       The Regions where the global table has replicas.
@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/GlobalTable.java