public ReplicaSettingsUpdate withReplicaGlobalSecondaryIndexSettingsUpdate(
            ReplicaGlobalSecondaryIndexSettingsUpdate... replicaGlobalSecondaryIndexSettingsUpdate) {
        if (this.replicaGlobalSecondaryIndexSettingsUpdate == null) {
            setReplicaGlobalSecondaryIndexSettingsUpdate(new java.util.ArrayList<ReplicaGlobalSecondaryIndexSettingsUpdate>(
                    replicaGlobalSecondaryIndexSettingsUpdate.length));
        }
        for (ReplicaGlobalSecondaryIndexSettingsUpdate ele : replicaGlobalSecondaryIndexSettingsUpdate) {
            this.replicaGlobalSecondaryIndexSettingsUpdate.add(ele);
        }
        return this;
    }
<p>
Represents the settings of a global secondary index for a global table that will be modified.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicaGlobalSecondaryIndexSettingsUpdate(java.util.Collection)} or
{@link #withReplicaGlobalSecondaryIndexSettingsUpdate(java.util.Collection)} if you want to override the existing
values.
</p>

@param replicaGlobalSecondaryIndexSettingsUpdate
       Represents the settings of a global secondary index for a global table 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/ReplicaSettingsUpdate.java