public void setReplicasToRemove(java.util.Collection<String> replicasToRemove) {
        if (replicasToRemove == null) {
            this.replicasToRemove = null;
            return;
        }

        this.replicasToRemove = new com.amazonaws.internal.SdkInternalList<String>(replicasToRemove);
    }
<p>
A list of the node ids to remove from the replication group or node group (shard).
</p>

@param replicasToRemove
       A list of the node ids to remove from the replication group or node group (shard).
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/DecreaseReplicaCountRequest.java