public ReplicaAutoScalingUpdate withReplicaGlobalSecondaryIndexUpdates(ReplicaGlobalSecondaryIndexAutoScalingUpdate... replicaGlobalSecondaryIndexUpdates) {
        if (this.replicaGlobalSecondaryIndexUpdates == null) {
            setReplicaGlobalSecondaryIndexUpdates(new java.util.ArrayList<ReplicaGlobalSecondaryIndexAutoScalingUpdate>(
                    replicaGlobalSecondaryIndexUpdates.length));
        }
        for (ReplicaGlobalSecondaryIndexAutoScalingUpdate ele : replicaGlobalSecondaryIndexUpdates) {
            this.replicaGlobalSecondaryIndexUpdates.add(ele);
        }
        return this;
    }
<p>
Represents the auto scaling settings of global secondary indexes that will be modified.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicaGlobalSecondaryIndexUpdates(java.util.Collection)} or
{@link #withReplicaGlobalSecondaryIndexUpdates(java.util.Collection)} if you want to override the existing
values.
</p>

@param replicaGlobalSecondaryIndexUpdates
       Represents the auto scaling settings of global secondary indexes that will be modified.
@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/ReplicaAutoScalingUpdate.java