public UpdateGlobalTableSettingsRequest withGlobalTableGlobalSecondaryIndexSettingsUpdate(
            GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate) {
        if (this.globalTableGlobalSecondaryIndexSettingsUpdate == null) {
            setGlobalTableGlobalSecondaryIndexSettingsUpdate(new java.util.ArrayList<GlobalTableGlobalSecondaryIndexSettingsUpdate>(
                    globalTableGlobalSecondaryIndexSettingsUpdate.length));
        }
        for (GlobalTableGlobalSecondaryIndexSettingsUpdate ele : globalTableGlobalSecondaryIndexSettingsUpdate) {
            this.globalTableGlobalSecondaryIndexSettingsUpdate.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 #setGlobalTableGlobalSecondaryIndexSettingsUpdate(java.util.Collection)} or
{@link #withGlobalTableGlobalSecondaryIndexSettingsUpdate(java.util.Collection)} if you want to override the
existing values.
</p>

@param globalTableGlobalSecondaryIndexSettingsUpdate
       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/UpdateGlobalTableSettingsRequest.java