public BatchApplyUpdateActionRequest withReplicationGroupIds(String... replicationGroupIds) {
        if (this.replicationGroupIds == null) {
            setReplicationGroupIds(new com.amazonaws.internal.SdkInternalList<String>(replicationGroupIds.length));
        }
        for (String ele : replicationGroupIds) {
            this.replicationGroupIds.add(ele);
        }
        return this;
    }
<p>
The replication group IDs
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicationGroupIds(java.util.Collection)} or {@link #withReplicationGroupIds(java.util.Collection)}
if you want to override the existing values.
</p>

@param replicationGroupIds
       The replication group IDs
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/BatchApplyUpdateActionRequest.java